[llvm] [AsmPrinter][DebugNames] Implement DW_IDX_parent entries (PR #77457)

Adrian Prantl via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 9 10:54:02 PST 2024


================
@@ -1374,7 +1374,8 @@ void DWARFLinkerImpl::emitDWARFv5DebugNamesSection(const Triple &TargetTriple) {
       case DwarfUnit::AccelType::Namespace:
       case DwarfUnit::AccelType::Type: {
         DebugNames->addName(*DebugStrStrings.getExistingEntry(Info.String),
-                            Info.OutOffset, Info.Tag, CU->getUniqueID());
+                            Info.OutOffset, std::nullopt /*ParentDIEOffset*/,
----------------
adrian-prantl wrote:

Why not here?

https://github.com/llvm/llvm-project/pull/77457


More information about the llvm-commits mailing list