diff options
author | ted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2013-03-06 15:32:53 +0000 |
---|---|---|
committer | ted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2013-03-06 15:32:53 +0000 |
commit | 983903ee0aef76f7a277ce09de6b12164eba8a32 (patch) | |
tree | 2156b673c7b77dc1cd056ce730d0995fb0f90f41 /src/tools/mac/dump_syms | |
parent | Minor Android fixup for symbol dumping code (diff) | |
download | breakpad-983903ee0aef76f7a277ce09de6b12164eba8a32.tar.xz |
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
Diffstat (limited to 'src/tools/mac/dump_syms')
-rw-r--r-- | src/tools/mac/dump_syms/dump_syms_tool.mm | 4 |
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); } //============================================================================= |