[llvm] [BOLT][DWARF] Do not emit zero low_pc address arange (PR #81955)

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 15 18:13:50 PST 2024


================
@@ -873,7 +873,9 @@ void DWARFRewriter::updateUnitDebugInfo(
         OutputRanges.push_back({0, 0});
       const uint64_t RangesSectionOffset =
           RangesSectionWriter.addRanges(OutputRanges);
-      if (!Unit.isDWOUnit())
+      /// Don't emit the zero low_pc arange.
----------------
dcci wrote:

`///` -> `//`

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


More information about the llvm-commits mailing list