[llvm] [MC][DebugInfo] Emit linetable entries with known offsets immediately (PR #134677)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Thu May 8 21:03:10 PDT 2025


================
@@ -0,0 +1,94 @@
+; RUN: llc %s -o %t.o -filetype=obj
+; RUN: llvm-dwarfdump --debug-line %t.o | FileCheck %s --check-prefix=LINES
+; RUN: llc %s -o %t.o -filetype=obj -debug-only=mc-dump 2>&1 | FileCheck %s --check-prefix=FRAGMENTS
----------------
MaskRay wrote:

Adding -debug-only tests requires caution. They need REQUIRES: asserts

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


More information about the llvm-commits mailing list