[llvm] [BOLT][DWARF] Slice .debug_str from the DWP for each CU (PR #159540)

Alexander Yermolovich via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 30 14:37:33 PDT 2025


================
@@ -1723,7 +1723,66 @@ StringRef getSectionName(const SectionRef &Section) {
   return Name;
 }
 
-// Extracts an appropriate slice if input is DWP.
+// Exctracts some appropriate slices of .debug_str.dwo from DWP.
+// Updates the .debug_str_offets.dwo for CUs.
+void UpdateStrAndStrOffsets(StringRef StrDWOContent,
----------------
ayermolo wrote:

static?

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


More information about the llvm-commits mailing list