[llvm] [NFC] Migrate NVPTX specific debug info code to separate class (PR #184709)

Laxman Sole via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 9 10:17:47 PDT 2026


================
@@ -393,12 +392,9 @@ DwarfDebug::DwarfDebug(AsmPrinter *A)
   if (!Dwarf64 && TT.isArch64Bit() && TT.isOSBinFormatXCOFF())
     report_fatal_error("XCOFF requires DWARF64 for 64-bit mode!");
 
-  UseRangesSection = !NoDwarfRangesSection && !TT.isNVPTX();
+  UseRangesSection = !NoDwarfRangesSection;
----------------
laxmansole wrote:

Correction-
` UseRangesSection &= !NoDwarfRangesSection;`

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


More information about the llvm-commits mailing list