forked from OSchip/llvm-project
Fix test to handle running on platforms which don't enable pubnames at all
Check that there are no entries in the pub sections, but that they may either be not present or present-but-empty. llvm-svn: 303927
This commit is contained in:
parent
2f106b4690
commit
9f8669461d
|
@ -13,14 +13,12 @@
|
|||
; CHECK-NOT: file_names[
|
||||
|
||||
; CHECK: .debug_pubnames contents:
|
||||
; CHECK-NEXT: length = 0x0000000e
|
||||
; CHECK-NEXT: Offset
|
||||
; CHECK-NEXT: {{^$}}
|
||||
; CHECK-NOT: {{^}}0x
|
||||
|
||||
; CHECK: .debug_pubtypes contents:
|
||||
; CHECK-NEXT: length = 0x0000000e
|
||||
; CHECK-NEXT: Offset
|
||||
; CHECK-NEXT: {{^$}}
|
||||
; CHECK-NOT: {{^}}0x
|
||||
|
||||
; CHECK: contents:
|
||||
|
||||
; Don't emit DW_AT_addr_base when there are no addresses.
|
||||
; FISSION-NOT: DW_AT_GNU_addr_base [DW_FORM_sec_offset]
|
||||
|
|
Loading…
Reference in New Issue