From 6e8d9ff7887bdb9b439509691f59329e91be279f Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Fri, 21 Mar 2014 12:04:41 -0400 Subject: [PATCH] Record inline function debug info in PDB files (r=asherkin). --- AMBuildScript | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AMBuildScript b/AMBuildScript index c617ab0e..afdce542 100644 --- a/AMBuildScript +++ b/AMBuildScript @@ -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':