Disable ASLR for debug builds.
This will make debugging Chrome with WinDbg a little less painful. BUG=none TEST=everything compiles Review URL: http://codereview.chromium.org/7329020 git-svn-id: http://src.chromium.org/svn/trunk/src/build@92531 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
aa68cc4292
Коммит
9658a12861
|
@ -1026,6 +1026,15 @@
|
|||
},
|
||||
'VCLinkerTool': {
|
||||
'LinkIncremental': '<(msvs_debug_link_incremental)',
|
||||
# ASLR makes debugging with windbg difficult because Chrome.exe and
|
||||
# Chrome.dll share the same base name. As result, windbg will
|
||||
# name the Chrome.dll module like chrome_<base address>, where
|
||||
# <base address> typically changes with each launch. This in turn
|
||||
# means that breakpoints in Chrome.dll don't stick from one launch
|
||||
# to the next. For this reason, we turn ASLR off in debug builds.
|
||||
# Note that this is a three-way bool, where 0 means to pick up
|
||||
# the default setting, 1 is off and 2 is on.
|
||||
'RandomizedBaseAddress': 1,
|
||||
},
|
||||
'VCResourceCompilerTool': {
|
||||
'PreprocessorDefinitions': ['_DEBUG'],
|
||||
|
|
Загрузка…
Ссылка в новой задаче