[llvm] [BOLT][DWARF][NFC] Move common access outside of parallel function (PR #99728)

Alexander Yermolovich via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 23 14:11:48 PDT 2024


================
@@ -668,20 +668,12 @@ void DWARFRewriter::updateDebugInfo() {
   auto processSplitCU = [&](DWARFUnit &Unit, DWARFUnit &SplitCU,
                             DIEBuilder &DIEBlder,
                             DebugRangesSectionWriter &TempRangesSectionWriter,
-                            DebugAddrWriter &AddressWriter) {
+                            DebugAddrWriter &AddressWriter,
+                            std::string &DWOName,
----------------
ayermolo wrote:

make const

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


More information about the llvm-commits mailing list