[llvm] [DWARFYAML] Implement debug_names support (PR #79666)
    James Henderson via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Feb  5 01:02:13 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";
----------------
jh7370 wrote:
Where does this string come from? It might be useful to have a comment that states where it is from.
https://github.com/llvm/llvm-project/pull/79666
    
    
More information about the llvm-commits
mailing list