aboutsummaryrefslogtreecommitdiff
path: root/src/tools/mac/dump_syms
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/mac/dump_syms')
-rw-r--r--src/tools/mac/dump_syms/dump_syms_tool.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/mac/dump_syms/dump_syms_tool.mm b/src/tools/mac/dump_syms/dump_syms_tool.mm
index 14bbcbbd..68321db3 100644
--- a/src/tools/mac/dump_syms/dump_syms_tool.mm
+++ b/src/tools/mac/dump_syms/dump_syms_tool.mm
@@ -54,7 +54,7 @@ struct Options {
//=============================================================================
static bool Start(const Options &options) {
- DumpSymbols dump_symbols;
+ DumpSymbols dump_symbols(options.cfi ? ALL_SYMBOL_DATA : NO_CFI);
if (!dump_symbols.Read(options.srcPath))
return false;
@@ -86,7 +86,7 @@ static bool Start(const Options &options) {
}
}
- return dump_symbols.WriteSymbolFile(std::cout, options.cfi);
+ return dump_symbols.WriteSymbolFile(std::cout);
}
//=============================================================================