Record inline function debug info in PDB files (r=asherkin).

This commit is contained in:
Nicholas Hastings 2014-03-21 12:04:41 -04:00
parent 6c658b4f8e
commit 406b72e0a6

View File

@ -223,6 +223,8 @@ class SMConfig(object):
cfg.defines += ['DEBUG', '_DEBUG']
if cxx.behavior == 'msvc':
cfg.cflags += ['/Od', '/RTC1']
if int(cxx.version) >= 1600:
cfg.cflags += ['/d2Zi+']
# This needs to be after our optimization flags which could otherwise disable it.
if cxx.name == 'msvc':