diff options
Diffstat (limited to 'llvm/test')
6 files changed, 37 insertions, 37 deletions
diff --git a/llvm/test/CodeGen/X86/debug-loclists.ll b/llvm/test/CodeGen/X86/debug-loclists.ll index 2b72f677b0d..7746826f30f 100644 --- a/llvm/test/CodeGen/X86/debug-loclists.ll +++ b/llvm/test/CodeGen/X86/debug-loclists.ll @@ -28,28 +28,28 @@ ; the function, and the one that doesn't. ; CHECK-NEXT: 0x0000000c: -; CHECK-NEXT: DW_LLE_base_addressx(0x0000000000000000) -; CHECK-NEXT: DW_LLE_offset_pair (0x0000000000000000, 0x0000000000000003) +; CHECK-NEXT: DW_LLE_base_addressx (0x0000000000000000) +; CHECK-NEXT: DW_LLE_offset_pair (0x0000000000000000, 0x0000000000000003) ; CHECK-NEXT: => [0x0000000000000000, 0x0000000000000003): DW_OP_consts +3, DW_OP_stack_value -; CHECK-NEXT: DW_LLE_offset_pair (0x0000000000000003, 0x0000000000000004) +; CHECK-NEXT: DW_LLE_offset_pair (0x0000000000000003, 0x0000000000000004) ; CHECK-NEXT: => [0x0000000000000003, 0x0000000000000004): DW_OP_consts +4, DW_OP_stack_value -; CHECK-NEXT: DW_LLE_end_of_list () +; CHECK-NEXT: DW_LLE_end_of_list () ; Show that startx_length can be used when the address range starts at the start of the function. ; CHECK: 0x0000001d: -; CHECK-NEXT: DW_LLE_startx_length(0x0000000000000000, 0x0000000000000003) +; CHECK-NEXT: DW_LLE_startx_length (0x0000000000000000, 0x0000000000000003) ; CHECK-NEXT: => Addr idx 0 (w/ length 3): DW_OP_consts +5, DW_OP_stack_value -; CHECK-NEXT: DW_LLE_end_of_list () +; CHECK-NEXT: DW_LLE_end_of_list () ; And use a base address when the range doesn't start at an existing/useful ; address in the pool. ; CHECK: 0x00000025: -; CHECK-NEXT: DW_LLE_base_addressx(0x0000000000000000) -; CHECK-NEXT: DW_LLE_offset_pair (0x0000000000000003, 0x0000000000000004) +; CHECK-NEXT: DW_LLE_base_addressx (0x0000000000000000) +; CHECK-NEXT: DW_LLE_offset_pair (0x0000000000000003, 0x0000000000000004) ; CHECK-NEXT: => [0x0000000000000003, 0x0000000000000004): DW_OP_reg0 RAX -; CHECK-NEXT: DW_LLE_end_of_list () +; CHECK-NEXT: DW_LLE_end_of_list () ; Built with clang -O3 -ffunction-sections from source: ; diff --git a/llvm/test/DebugInfo/X86/dwarfdump-debug-loclists-error-cases2.s b/llvm/test/DebugInfo/X86/dwarfdump-debug-loclists-error-cases2.s index 47307e2d113..48ae8d4db75 100644 --- a/llvm/test/DebugInfo/X86/dwarfdump-debug-loclists-error-cases2.s +++ b/llvm/test/DebugInfo/X86/dwarfdump-debug-loclists-error-cases2.s @@ -8,11 +8,11 @@ # CHECK: DW_AT_name ("x1") # CHECK-NEXT: DW_AT_location (0xdeadbeef -# CHECK-NEXT: error extracting location list: unexpected end of data) +# CHECK-NEXT: error: unexpected end of data) # CHECK: DW_AT_name ("x2") # CHECK-NEXT: DW_AT_location (0x00000025 -# CHECK-NEXT: error extracting location list: unexpected end of data) +# CHECK-NEXT: error: unexpected end of data) .type f,@function diff --git a/llvm/test/DebugInfo/X86/dwarfdump-debug-loclists.test b/llvm/test/DebugInfo/X86/dwarfdump-debug-loclists.test index 783d4b84fbf..a427e03c231 100644 --- a/llvm/test/DebugInfo/X86/dwarfdump-debug-loclists.test +++ b/llvm/test/DebugInfo/X86/dwarfdump-debug-loclists.test @@ -11,14 +11,14 @@ # CHECK: .debug_loclists contents: # CHECK-NEXT: 0x00000000: locations list header: length = 0x0000002c, version = 0x0005, addr_size = 0x08, seg_size = 0x00, offset_entry_count = 0x00000000 # CHECK-NEXT: 0x0000000c: -# CHECK-NEXT: DW_LLE_offset_pair (0x0000000000000000, 0x0000000000000010) +# CHECK-NEXT: DW_LLE_offset_pair (0x0000000000000000, 0x0000000000000010) # CHECK-NEXT: => [0x0000000000000000, 0x0000000000000010): DW_OP_breg5 RDI+0 -# CHECK-NEXT: DW_LLE_base_address(0x0000000000000500) -# CHECK-NEXT: DW_LLE_offset_pair (0x0000000000000030, 0x0000000000000040) +# CHECK-NEXT: DW_LLE_base_address (0x0000000000000500) +# CHECK-NEXT: DW_LLE_offset_pair (0x0000000000000030, 0x0000000000000040) # CHECK-NEXT: => [0x0000000000000530, 0x0000000000000540): DW_OP_breg6 RBP-8, DW_OP_deref -# CHECK-NEXT: DW_LLE_start_length(0x0000000000000700, 0x0000000000000010) +# CHECK-NEXT: DW_LLE_start_length (0x0000000000000700, 0x0000000000000010) # CHECK-NEXT: => [0x0000000000000700, 0x0000000000000710): DW_OP_breg5 RDI+0 -# CHECK-NEXT: DW_LLE_end_of_list () +# CHECK-NEXT: DW_LLE_end_of_list () .section .debug_str,"MS",@progbits,1 .asciz "stub" diff --git a/llvm/test/DebugInfo/X86/fission-ranges.ll b/llvm/test/DebugInfo/X86/fission-ranges.ll index 3f9e447f630..8f72ee116f5 100644 --- a/llvm/test/DebugInfo/X86/fission-ranges.ll +++ b/llvm/test/DebugInfo/X86/fission-ranges.ll @@ -32,10 +32,10 @@ ; CHECK: DW_TAG_formal_parameter ; CHECK-NEXT: DW_AT_const_value [DW_FORM_sdata] (1) ; CHECK-NEXT: DW_AT_name {{.*}} "p") -; CHECK: DW_AT_location [DW_FORM_sec_offset] ([[A:0x[0-9a-z]*]] -; CHECK: DW_AT_location [DW_FORM_sec_offset] ([[E:0x[0-9a-z]*]] -; CHECK: DW_AT_location [DW_FORM_sec_offset] ([[B:0x[0-9a-z]*]] -; CHECK: DW_AT_location [DW_FORM_sec_offset] ([[D:0x[0-9a-z]*]] +; CHECK: DW_AT_location [DW_FORM_sec_offset] ([[A:0x[0-9a-z]*]]: +; CHECK: DW_AT_location [DW_FORM_sec_offset] ([[E:0x[0-9a-z]*]]: +; CHECK: DW_AT_location [DW_FORM_sec_offset] ([[B:0x[0-9a-z]*]]: +; CHECK: DW_AT_location [DW_FORM_sec_offset] ([[D:0x[0-9a-z]*]]: ; CHECK: DW_AT_ranges [DW_FORM_sec_offset] (0x00000000 ; CHECK-NOT: .debug_loc contents: ; CHECK-NOT: Beginning address offset @@ -45,31 +45,31 @@ ; if they've changed due to a bugfix, change in register allocation, etc. ; CHECK: [[A]]: -; CHECK-NEXT: DW_LLE_startx_length(0x00000002, 0x0000000f) +; CHECK-NEXT: DW_LLE_startx_length (0x00000002, 0x0000000f) ; CHECK-NEXT: => Addr idx 2 (w/ length 15): DW_OP_consts +0, DW_OP_stack_value -; CHECK-NEXT: DW_LLE_startx_length(0x00000003, 0x0000000f) +; CHECK-NEXT: DW_LLE_startx_length (0x00000003, 0x0000000f) ; CHECK-NEXT: => Addr idx 3 (w/ length 15): DW_OP_reg0 RAX -; CHECK-NEXT: DW_LLE_startx_length(0x00000004, 0x00000012) +; CHECK-NEXT: DW_LLE_startx_length (0x00000004, 0x00000012) ; CHECK-NEXT: => Addr idx 4 (w/ length 18): DW_OP_breg7 RSP-8 -; CHECK-NEXT: DW_LLE_end_of_list () +; CHECK-NEXT: DW_LLE_end_of_list () ; CHECK: [[E]]: -; CHECK-NEXT: DW_LLE_startx_length(0x00000005, 0x00000009) +; CHECK-NEXT: DW_LLE_startx_length (0x00000005, 0x00000009) ; CHECK-NEXT: => Addr idx 5 (w/ length 9): DW_OP_reg0 RAX -; CHECK-NEXT: DW_LLE_startx_length(0x00000006, 0x00000062) +; CHECK-NEXT: DW_LLE_startx_length (0x00000006, 0x00000062) ; CHECK-NEXT: => Addr idx 6 (w/ length 98): DW_OP_breg7 RSP-44 -; CHECK-NEXT: DW_LLE_end_of_list () +; CHECK-NEXT: DW_LLE_end_of_list () ; CHECK: [[B]]: -; CHECK-NEXT: DW_LLE_startx_length(0x00000007, 0x0000000f) +; CHECK-NEXT: DW_LLE_startx_length (0x00000007, 0x0000000f) ; CHECK-NEXT: => Addr idx 7 (w/ length 15): DW_OP_reg0 RAX -; CHECK-NEXT: DW_LLE_startx_length(0x00000008, 0x00000042) +; CHECK-NEXT: DW_LLE_startx_length (0x00000008, 0x00000042) ; CHECK-NEXT: => Addr idx 8 (w/ length 66): DW_OP_breg7 RSP-32 -; CHECK-NEXT: DW_LLE_end_of_list () +; CHECK-NEXT: DW_LLE_end_of_list () ; CHECK: [[D]]: -; CHECK-NEXT: DW_LLE_startx_length(0x00000009, 0x0000000f) +; CHECK-NEXT: DW_LLE_startx_length (0x00000009, 0x0000000f) ; CHECK-NEXT: => Addr idx 9 (w/ length 15): DW_OP_reg0 RAX -; CHECK-NEXT: DW_LLE_startx_length(0x0000000a, 0x0000002a) +; CHECK-NEXT: DW_LLE_startx_length (0x0000000a, 0x0000002a) ; CHECK-NEXT: => Addr idx 10 (w/ length 42): DW_OP_breg7 RSP-20 -; CHECK-NEXT: DW_LLE_end_of_list () +; CHECK-NEXT: DW_LLE_end_of_list () ; Make sure we don't produce any relocations in any .dwo section (though in particular, debug_info.dwo) ; HDR-NOT: .rela.{{.*}}.dwo diff --git a/llvm/test/DebugInfo/X86/stack-value-piece.ll b/llvm/test/DebugInfo/X86/stack-value-piece.ll index 6b6795c3489..78fec0ed4e7 100644 --- a/llvm/test/DebugInfo/X86/stack-value-piece.ll +++ b/llvm/test/DebugInfo/X86/stack-value-piece.ll @@ -18,14 +18,14 @@ ; CHECK: DW_TAG_subprogram ; CHECK: DW_AT_name {{.*}} "i" ; CHECK: DW_TAG_variable -; CHECK-NEXT: DW_AT_location {{.*}} ([[I:.*]] +; CHECK-NEXT: DW_AT_location {{.*}} ([[I:0x[0-9a-f]+]] ; CHECK-NEXT: [{{.*}}, {{.*}}): DW_OP_reg5 RDI, DW_OP_piece 0x4, DW_OP_lit0, DW_OP_stack_value, DW_OP_piece 0x4) ; CHECK-NEXT: DW_AT_name {{.*}} "r" ; ; CHECK: DW_TAG_subprogram ; CHECK: DW_AT_name {{.*}} "f" ; CHECK: DW_TAG_variable -; CHECK-NEXT: DW_AT_location {{.*}} ([[F:.*]] +; CHECK-NEXT: DW_AT_location {{.*}} ([[F:0x[0-9a-f]+]] ; CHECK-NEXT: [{{.*}}, {{.*}}): DW_OP_reg17 XMM0, DW_OP_piece 0x4, DW_OP_lit0, DW_OP_stack_value, DW_OP_piece 0x4 ; CHECK-NEXT: [{{.*}}, {{.*}}): DW_OP_piece 0x4, DW_OP_lit0, DW_OP_stack_value, DW_OP_piece 0x4) ; CHECK-NEXT: DW_AT_name {{.*}} "r" diff --git a/llvm/test/tools/llvm-dwarfdump/X86/debug_loclists_startx_length.s b/llvm/test/tools/llvm-dwarfdump/X86/debug_loclists_startx_length.s index 75fd43f6056..25e883381c1 100644 --- a/llvm/test/tools/llvm-dwarfdump/X86/debug_loclists_startx_length.s +++ b/llvm/test/tools/llvm-dwarfdump/X86/debug_loclists_startx_length.s @@ -8,9 +8,9 @@ # CHECK: .debug_loclists contents: # CHECK-NEXT: 0x00000000: locations list header: length = 0x0000000e, version = 0x0005, addr_size = 0x08, seg_size = 0x00, offset_entry_count = 0x00000000 # CHECK-NEXT: 0x0000000c: -# CHECK-NEXT: DW_LLE_startx_length(0x0000000000000001, 0x0000000000000010) +# CHECK-NEXT: DW_LLE_startx_length (0x0000000000000001, 0x0000000000000010) # CHECK-NEXT: => Addr idx 1 (w/ length 16): DW_OP_reg5 RDI -# CHECK-NEXT: DW_LLE_end_of_list () +# CHECK-NEXT: DW_LLE_end_of_list () .section .debug_loclists,"",@progbits .long .Ldebug_loclist_table_end0-.Ldebug_loclist_table_start0 |