[llvm] [Symbolize] Always use filename:line from debug info when debug info for the given address is available. (PR #128619)

Zequan Wu via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 18 17:56:10 PDT 2025


================
@@ -0,0 +1,175 @@
+# Test llvm-symbolizer always uses line info from debug info if present.
+# RUN: yaml2obj %s -o %t
+# RUN: llvm-symbolizer --obj=%t 0x1 | FileCheck %s
+
+# CHECK:      foo(bool)
+# CHECK-NEXT: ??:0:0
+
----------------
ZequanWu wrote:

Removed change on `symbolizeData`. Add test for `symbolizeCode`

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


More information about the llvm-commits mailing list