[llvm] [DWARFYAML] Implement debug_names support (PR #79666)
Alexander Yermolovich via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 2 11:40:04 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";
+ auto TotalSize = CombinedSizeOtherParts + 5 * sizeof(uint32_t) +
----------------
ayermolo wrote:
Specific type? Also in other places.
https://github.com/llvm/llvm-project/pull/79666
More information about the llvm-commits
mailing list