aboutsummaryrefslogtreecommitdiff
path: root/src/common/linux/synth_elf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/linux/synth_elf.h')
-rw-r--r--src/common/linux/synth_elf.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/common/linux/synth_elf.h b/src/common/linux/synth_elf.h
index 215fd997..90bd8341 100644
--- a/src/common/linux/synth_elf.h
+++ b/src/common/linux/synth_elf.h
@@ -149,6 +149,15 @@ class SymbolTable : public Section {
StringTable& table_;
};
+// A class to build GNU Build ID note sections
+class BuildIDNote : public Section {
+public:
+ BuildIDNote(const uint8_t* id_bytes, size_t id_size, Endianness endianness);
+
+ // Append a new Build ID note section to |elf|.
+ static void AppendSection(ELF& elf, const uint8_t* id_bytes, size_t id_size);
+};
+
} // namespace synth_elf
} // namespace google_breakpad