File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
lldb/packages/Python/lldbsuite/test Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ def _getDebugInfoArgs(self, debug_info):
258258 "gmodules" : {"MAKE_DSYM" : "NO" , "MAKE_GMODULES" : "YES" },
259259 "debug_names" : {"MAKE_DEBUG_NAMES" : "YES" },
260260 "dwp" : {"MAKE_DSYM" : "NO" , "MAKE_DWP" : "YES" },
261- "pdb" : {"DEBUG_INFO_FLAG " : "-g " },
261+ "pdb" : {"MAKE_PDB " : "YES " },
262262 }
263263
264264 # Collect all flags, with later options overriding earlier ones
Original file line number Diff line number Diff line change @@ -249,6 +249,10 @@ ifeq ($(CC_TYPE), clang)
249249 MODULE_DEBUG_INFO_FLAGS += -gmodules
250250endif
251251
252+ ifeq "$(MAKE_PDB)" "YES"
253+ DEBUG_INFO_FLAG ?= -g -gcodeview
254+ endif
255+
252256# If the OS is Windows, we need to pass -gdwarf to clang, otherwise it will build
253257# with codeview by default but all the tests rely on dwarf.
254258ifeq "$(OS)" "Windows_NT"
You can’t perform that action at this time.
0 commit comments