Skip to content

Commit

Permalink
Record inline function debug info in PDB files (r=asherkin).
Browse files Browse the repository at this point in the history
  • Loading branch information
psychonic committed Mar 21, 2014
1 parent 0e6cbf9 commit 6e8d9ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions AMBuildScript
Expand Up @@ -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':
Expand Down

0 comments on commit 6e8d9ff

Please sign in to comment.