================
@@ -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
----------------
Michael137 wrote:

Not a big deal but you might want to make this error message less strict

Perhaps something like `CHECK-NOT: unsupported DW_FORM`

Just in case something about the message changes

https://github.com/llvm/llvm-project/pull/176056
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to