Index: src/common/linux/dump_symbols.cc |
diff --git a/src/common/linux/dump_symbols.cc b/src/common/linux/dump_symbols.cc |
index 6b27120a4cb30ab6f2612942486cbdc5499acb3c..40b9e478b60bff47adb608e2969cc479c64919f2 100644 |
--- a/src/common/linux/dump_symbols.cc |
+++ b/src/common/linux/dump_symbols.cc |
@@ -926,8 +926,10 @@ bool InitModuleForElfClass(const typename ElfClass::Ehdr* elf_header, |
// number appended to the end of the file identifier; this isn't |
// really used or necessary on other platforms, but be consistent. |
string id = FileID::ConvertIdentifierToUUIDString(identifier) + "0"; |
+ // This is just the raw Build ID in hex. |
+ string code_id = FileID::ConvertIdentifierToString(identifier); |
- module.reset(new Module(name, os, architecture, id)); |
+ module.reset(new Module(name, os, architecture, id, code_id)); |
return true; |
} |