1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00

Adapt more testcases for llvm-dwarfdump changes.

llvm-svn: 313275
This commit is contained in:
Adrian Prantl 2017-09-14 17:27:03 +00:00
parent 332360a091
commit 18cd6e29b7
2 changed files with 4 additions and 6 deletions

View File

@ -12,9 +12,7 @@
; CHECK: total_length: 0x00000019
; CHECK-NOT: file_names[
; CHECK: .debug_pubnames contents:
; CHECK-NOT: {{^}}0x
; CHECK-NOT: .debug_pubnames contents:
; CHECK: contents:
; Don't emit DW_AT_addr_base when there are no addresses.

View File

@ -1,17 +1,17 @@
Reuse a test input from llvm-dsymutil, it's perfect for what we want to exercise
RUN: llvm-dwarfdump -v %S/Inputs/fat-test.o --debug-info | FileCheck %s
CHECK: fat-test.o (x86_64): file format Mach-O 64-bit x86-64
CHECK: fat-test.o(x86_64): file format Mach-O 64-bit x86-64
CHECK: DW_TAG_variable
CHECK-NOT: {{NULL|DW_TAG}}
CHECK: DW_AT_name {{.*}} "x86_64_var"
CHECK: fat-test.o (i386): file format Mach-O 32-bit i386
CHECK: fat-test.o(i386): file format Mach-O 32-bit i386
CHECK: DW_TAG_variable
CHECK-NOT: {{NULL|DW_TAG}}
CHECK: DW_AT_name {{.*}} "i386_var"
CHECK: fat-test.o (x86_64h): file format Mach-O 64-bit x86-64
CHECK: fat-test.o(x86_64h): file format Mach-O 64-bit x86-64
CHECK: DW_TAG_variable
CHECK-NOT: {{NULL|DW_TAG}}
CHECK: DW_AT_name {{.*}} "x86_64h_var"