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

Unified Diff: runtime/vm/thread.cc

Issue 2837873005: Fix some assertion failures on Fuchsia (Closed)
Patch Set: two lines Created 3 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 | « runtime/bin/main.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/thread.cc
diff --git a/runtime/vm/thread.cc b/runtime/vm/thread.cc
index 164cca92453999a634ece9a9e8792db70100a48c..12d1ff75a6a32130663659454b1da7cffd182627 100644
--- a/runtime/vm/thread.cc
+++ b/runtime/vm/thread.cc
@@ -453,7 +453,7 @@ uword Thread::GetCurrentStackPointer() {
#endif
// But for performance (and to support simulators), we normally use a local.
#if defined(__has_feature)
-#if __has_feature(address_sanitizer)
+#if __has_feature(address_sanitizer) || __has_feature(safe_stack)
uword current_sp = func();
return current_sp;
#else
« no previous file with comments | « runtime/bin/main.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698