Version 5.4.3.2, tag libreoffice-5.4.3.2
[LibreOffice.git] / external / breakpad / breakpad-stackwalk.patch.1
blob8df1fa3e2f43208579f1d7159c86f9910b531c28
1 diff -ur breakpad.org/src/processor/stackwalk_common.cc breakpad/src/processor/stackwalk_common.cc
2 --- breakpad.org/src/processor/stackwalk_common.cc      2016-06-27 02:06:43.304932691 +0200
3 +++ breakpad/src/processor/stackwalk_common.cc  2016-06-27 02:10:22.815642476 +0200
4 @@ -750,7 +750,7 @@
5  // one per line, in the following machine-readable pipe-delimited
6  // text format:
7  // Module|{Module Filename}|{Version}|{Debug Filename}|{Debug Identifier}|
8 -// {Base Address}|{Max Address}|{Main}
9 +// {Base Address}|{Max Address}|{Main}|{Code Identifier}
10  static void PrintModulesMachineReadable(const CodeModules *modules) {
11    if (!modules)
12      return;
13 @@ -767,7 +767,7 @@
14         ++module_sequence) {
15      const CodeModule *module = modules->GetModuleAtSequence(module_sequence);
16      uint64_t base_address = module->base_address();
17 -    printf("Module%c%s%c%s%c%s%c%s%c0x%08" PRIx64 "%c0x%08" PRIx64 "%c%d\n",
18 +    printf("Module%c%s%c%s%c%s%c%s%c0x%08" PRIx64 "%c0x%08" PRIx64 "%c%d%c%s\n",
19             kOutputSeparator,
20             StripSeparator(PathnameStripper::File(module->code_file())).c_str(),
21             kOutputSeparator, StripSeparator(module->version()).c_str(),
22 @@ -778,7 +778,9 @@
23             kOutputSeparator, base_address,
24             kOutputSeparator, base_address + module->size() - 1,
25             kOutputSeparator,
26 -           main_module != NULL && base_address == main_address ? 1 : 0);
27 +           main_module != NULL && base_address == main_address ? 1 : 0,
28 +           kOutputSeparator,
29 +           StripSeparator(PathnameStripper::File(module->code_identifier())).c_str());
30    }
31  }