[llvm] [DWARFYAML] Implement debug_names support (PR #79666)
Felipe de Azevedo Piovezan via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 5 10:23:26 PST 2024
================
@@ -691,6 +691,191 @@ Error DWARFYAML::emitDebugStrOffsets(raw_ostream &OS, const Data &DI) {
return Error::success();
}
+namespace {
+/// Emits the header for a DebugNames section.
+void emitDebugNamesHeader(raw_ostream &OS, bool IsLittleEndian,
+ uint32_t NameCount, uint32_t AbbrevSize,
+ uint32_t CombinedSizeOtherParts) {
+ StringRef AugmentationString = "LLVM0700";
----------------
felipepiovezan wrote:
The augmentation string is a well defined term in the DWARF spec, but I added a comment
https://github.com/llvm/llvm-project/pull/79666
More information about the llvm-commits
mailing list