forked from OSchip/llvm-project
[test] [lldb] Use filename instead of index in test
In some environments this test could fail if start.S has its own DWARF CompileUnit or similar are included before the DWARF CompileUnit for the file. This change makes the test independent of the index of the compile unit, instead checking the filename. Reviewed By: herhut, jankratochvil Differential Revision: https://reviews.llvm.org/D107300
This commit is contained in:
parent
469793efa7
commit
ea9706626c
|
@ -22,8 +22,8 @@
|
|||
// CHECK-NOT: 2.dwo,
|
||||
// CHECK: (lldb) image lookup
|
||||
// CHECK-NOT: 2.dwo,
|
||||
// CHECK: CompileUnit: id = {0x00000000}, file =
|
||||
// CHECK-SAME: language = "c99"
|
||||
// CHECK: CompileUnit: id =
|
||||
// CHECK-SAME: /dwarf5-lazy-dwo.c", language = "c99"
|
||||
// CHECK-NOT: 2.dwo,
|
||||
|
||||
#ifdef ONE
|
||||
|
|
Loading…
Reference in New Issue