From 983903ee0aef76f7a277ce09de6b12164eba8a32 Mon Sep 17 00:00:00 2001 From: "ted.mielczarek@gmail.com" Date: Wed, 6 Mar 2013 15:32:53 +0000 Subject: Allow reading just CFI data when reading symbols R=thestig at https://breakpad.appspot.com/517002/ git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1124 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/tools/mac/dump_syms/dump_syms_tool.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tools/mac/dump_syms') 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); } //============================================================================= -- cgit v1.2.1