Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1175)

Unified Diff: runtime/vm/signal_handler.h

Issue 1940883002: Work around a kernel bug on Android. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/thread_interrupter_android.cc » ('j') | runtime/vm/thread_interrupter_android.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/signal_handler.h
diff --git a/runtime/vm/signal_handler.h b/runtime/vm/signal_handler.h
index b204c55d55f1b127f781fc8c73b8c50989861b3d..376ef78f17f13c20c95f090fc22fc50f141dd85b 100644
--- a/runtime/vm/signal_handler.h
+++ b/runtime/vm/signal_handler.h
@@ -43,6 +43,9 @@ typedef void (*SignalAction)(int signal, siginfo_t* info,
class SignalHandler : public AllStatic {
public:
+ // Note: older linux kernels on ARM might require a trampoline to
+ // work around incorrect Thumb -> ARM transitions. See SignalHandlerTrampoline
+ // in thread_interrupter_android.cc for more details.
static void Install(SignalAction action);
static void Remove();
static uintptr_t GetProgramCounter(const mcontext_t& mcontext);
« no previous file with comments | « no previous file | runtime/vm/thread_interrupter_android.cc » ('j') | runtime/vm/thread_interrupter_android.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698