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/common/module.h | |
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/common/module.h')
-rw-r--r-- | src/common/module.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/common/module.h b/src/common/module.h index cecab32f..398bc315 100644 --- a/src/common/module.h +++ b/src/common/module.h @@ -44,6 +44,7 @@ #include <string> #include <vector> +#include "common/symbol_data.h" #include "common/using_std_string.h" #include "google_breakpad/common/breakpad_types.h" @@ -259,13 +260,15 @@ class Module { // breakpad symbol format. Return true if all goes well, or false if // an error occurs. This method writes out: // - a header based on the values given to the constructor, + // If symbol_data is not ONLY_CFI then: // - the source files added via FindFile, // - the functions added via AddFunctions, each with its lines, // - all public records, - // - and if CFI is true, all CFI records. + // If symbol_data is not NO_CFI then: + // - all CFI records. // Addresses in the output are all relative to the load address // established by SetLoadAddress. - bool Write(std::ostream &stream, bool cfi); + bool Write(std::ostream &stream, SymbolData symbol_data); private: // Report an error that has occurred writing the symbol file, using |