aboutsummaryrefslogtreecommitdiff
path: root/src/processor
diff options
context:
space:
mode:
authorted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e>2010-10-05 19:39:23 +0000
committerted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e>2010-10-05 19:39:23 +0000
commitd35f113d020aa1cb4f18aace03eca4eb8705dad2 (patch)
treec06b506129ba2f3b480d5b8f461e5cbf38a78925 /src/processor
parentditch libtool, only build static libs (diff)
downloadbreakpad-d35f113d020aa1cb4f18aace03eca4eb8705dad2.tar.xz
Make dump_syms output an INFO CODE_ID line that includes the code file and code identifier. (Currently disabled to give Breakpad users time to update their processor code.)
R=mark at http://breakpad.appspot.com/180001/show git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@710 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/processor')
-rw-r--r--src/processor/basic_source_line_resolver.cc4
-rw-r--r--src/processor/testdata/module1.out1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/processor/basic_source_line_resolver.cc b/src/processor/basic_source_line_resolver.cc
index db9cca8a..828f25e9 100644
--- a/src/processor/basic_source_line_resolver.cc
+++ b/src/processor/basic_source_line_resolver.cc
@@ -394,6 +394,10 @@ bool BasicSourceLineResolver::Module::LoadMapFromBuffer(
// be accessed by a SymbolSupplier.
//
// MODULE <guid> <age> <filename>
+ } else if (strncmp(buffer, "INFO ", 5) == 0) {
+ // Ignore these as well, they're similarly just for housekeeping.
+ //
+ // INFO CODE_ID <code id> <filename>
} else {
if (!cur_func.get()) {
BPLOG(ERROR) << "Found source line data without a function at " <<
diff --git a/src/processor/testdata/module1.out b/src/processor/testdata/module1.out
index d4a8208a..cd6e18d1 100644
--- a/src/processor/testdata/module1.out
+++ b/src/processor/testdata/module1.out
@@ -1,4 +1,5 @@
MODULE windows x86 111111111111111111111111111111111 module1.pdb
+INFO CODE_ID FFFFFFFF module1.exe
FILE 1 file1_1.cc
FILE 2 file1_2.cc
FILE 3 file1_3.cc