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 0e6cbf989e
commit 6e8d9ff788

View File

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