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/linux/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/linux/dump_syms')
-rw-r--r-- | src/tools/linux/dump_syms/dump_syms.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/linux/dump_syms/dump_syms.cc b/src/tools/linux/dump_syms/dump_syms.cc index aa504589..f58952ed 100644 --- a/src/tools/linux/dump_syms/dump_syms.cc +++ b/src/tools/linux/dump_syms/dump_syms.cc @@ -68,7 +68,8 @@ int main(int argc, char **argv) { debug_dirs.push_back(argv[debug_dir_index]); } - if (!WriteSymbolFile(binary, debug_dirs, cfi, std::cout)) { + SymbolData symbol_data = cfi ? ALL_SYMBOL_DATA : NO_CFI; + if (!WriteSymbolFile(binary, debug_dirs, symbol_data, std::cout)) { fprintf(stderr, "Failed to write symbol file.\n"); return 1; } |