[Lldb-commits] [lldb] Add support for DW_FORM_GNU_ref_alt and DW_FORM_GNU_strp_alt. (PR #176056)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Wed Jan 14 17:30:55 PST 2026


================
@@ -0,0 +1,12 @@
+# This test verifies that LLDB can read DWARF file that contains DW_FORM values
+# encoded with the DW_FORM_GNU_ref_alt and DW_FORM_GNU_strp_alt. If any file was
+# loaded into LLDB prior to adding support LLDB wouldn't be able to parse any
+# of the DWARF as it wouldn't know how to parse these entries and since DWARF is
+# a stream, nothing after that could be parsed.
+
+# RUN: yaml2obj %S/Inputs/gnu-ref-strp-alt.yaml > %t
+# RUN: %lldb %t -b -o 'b bar' | FileCheck %s
+
+# CHECK:      (lldb) b bar
+# CHECK-NOT:  warning: (x86_64) /tmp/b.out unsupported DW_FORM values: 0x1f20 0x1f21
----------------
clayborg wrote:

yes, I do need to fix this! Thanks

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


More information about the lldb-commits mailing list