diff options
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 |