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

Unified Diff: build/config/compiler/BUILD.gn

Issue 2707223002: Make --enable-heap-profiling=native "work" on Windows. (Closed)
Patch Set: Created 3 years, 10 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
« base/debug/stack_trace.h ('K') | « base/debug/stack_trace.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/compiler/BUILD.gn
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
index 069f10b98123f4560bee01bcdaaea8cf674e22e3..92d7dbbbbdde1de1db09472695a48d0a6613e662 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -1396,6 +1396,8 @@ config("default_stack_frames") {
} else if (is_android) {
cflags = [ "-fomit-frame-pointer" ]
}
+ } else if (is_win && enable_profiling) {
+ #cflags = [ "/Oy-" ] # Re-enable frame pointers.
}
}
« base/debug/stack_trace.h ('K') | « base/debug/stack_trace.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698