[llvm] [BOLT][DWARF] Add support for .debug_names (PR #81062)
Alexander Yermolovich via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 22 11:13:51 PST 2024
================
@@ -378,11 +377,13 @@ getUnitForOffset(DIEBuilder &Builder, DWARFContext &DWCtx,
return nullptr;
}
-uint32_t DIEBuilder::computeDIEOffset(const DWARFUnit &CU, DIE &Die,
+uint32_t DIEBuilder::computeDIEOffset(DWARFUnit &CU, DIE &Die,
----------------
ayermolo wrote:
I tried with change on an internal service of reasonable size. No issues, but having basically the same API with quite different behavior based on const seems like just asking for trouble.
https://github.com/llvm/llvm-project/pull/81062
More information about the llvm-commits
mailing list