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

Unified Diff: components/crash/content/app/BUILD.gn

Issue 1473203002: [Linux] Turn off -mstackrealign for breakpad in ia32. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added bug reference in comments Created 5 years 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 | « components/crash.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/crash/content/app/BUILD.gn
diff --git a/components/crash/content/app/BUILD.gn b/components/crash/content/app/BUILD.gn
index d43804b7cff63498012a0b1d4ea5b8bbe7865338..b8042e29ad493fbfed49e87a15885de8ebc628f8 100644
--- a/components/crash/content/app/BUILD.gn
+++ b/components/crash/content/app/BUILD.gn
@@ -113,6 +113,13 @@ source_set("app_non_mac") {
defines += [ "CHROME_BUILD_ID=" + android_chrome_build_id ]
}
+ if (current_cpu == "x86" && is_clang) {
+ # Clang's -mstackrealign doesn't work well with
+ # linux_syscall_support.h hand written asm syscalls.
+ # See https://crbug.com/556393
+ cflags -= [ "-mstackrealign" ]
+ }
+
if (is_win) {
deps += [
"//sandbox",
« no previous file with comments | « components/crash.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698