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

Unified Diff: build/common.gypi

Issue 62140: Print backtraces on FATAL log messages in debug mode. (Closed)
Patch Set: Add todo for stackwalk64 Created 11 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 | « base/logging.cc ('k') | chrome/app/chrome.dll.deps » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index e9205c86fbe2b5b0e8518efb1ea1d626067a8cf5..7b2604afbde91940bad1ca5b10918aa44302e2ab 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -258,7 +258,10 @@
'-O<(debug_optimize)',
'-g',
],
- },
+ 'ldflags': [
+ '-rdynamic', # Allows backtrace to resolve symbols.
+ ],
+ },
'Release': {
'cflags': [
'-O2',
@@ -383,10 +386,11 @@
'ws2_32.lib',
'usp10.lib',
'psapi.lib',
+ 'dbghelp.lib',
],
'AdditionalLibraryDirectories':
'<(DEPTH)/third_party/platformsdk_win2008_6_1/files/Lib',
- 'DelayLoadDLLs': 'dwmapi.dll,uxtheme.dll',
+ 'DelayLoadDLLs': 'dbghelp.dll,dwmapi.dll,uxtheme.dll',
'GenerateDebugInformation': 'true',
'MapFileName': '$(OutDir)\\$(TargetName).map',
'ImportLibrary': '$(OutDir)\\lib\\$(TargetName).lib',
« no previous file with comments | « base/logging.cc ('k') | chrome/app/chrome.dll.deps » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698