[llvm] [LLVM[NFC] Refactor to allow debug_names entries to conatain DIE offset (PR #69399)

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 23 15:53:32 PDT 2023


================
@@ -357,6 +357,13 @@ void AppleAccelTableWriter::emit() const {
   emitData();
 }
 
+DWARF5AccelTableData::DWARF5AccelTableData(const DIE &Die,
+                                           const DwarfCompileUnit &CU)
+    : OffsetVal(&Die) {
+  DieTag = Die.getTag();
+  UnitID = CU.getUniqueID();
+}
+
----------------
dwblaikie wrote:

could be a forwarding ctor

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


More information about the llvm-commits mailing list