[llvm] [LLVM][DWARF] Add support for monolithic types in .debug_names (PR #70515)
    Alexander Yermolovich via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Nov 14 16:40:09 PST 2023
    
    
  
================
@@ -230,9 +230,17 @@ void DwarfEmitterImpl::emitDebugNames(DWARF5AccelTable &Table,
     return;
 
   Asm->OutStreamer->switchSection(MOFI->getDwarfDebugNamesSection());
+  dwarf::Form Form =
+      DIEInteger::BestForm(/*IsSigned*/ false, (uint64_t)CUidToIdx.size() - 1);
+  /// DWARFLinker doesn't support type units + .debug_names right now anyway,
+  /// so just keeping current behavior.
----------------
ayermolo wrote:
done.
https://github.com/llvm/llvm-project/pull/70515
    
    
More information about the llvm-commits
mailing list