projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DebugInfo: Refactor some tests to allow DW_AT_name to not be the first attribute...
[oota-llvm.git]
/
test
/
DebugInfo
/
empty.ll
diff --git
a/test/DebugInfo/empty.ll
b/test/DebugInfo/empty.ll
index 1fb181661462ff40ee1ecf10ed8de9bce8979dcf..cf40523e7e4aed39300e918dbd44746aaf185a7c 100644
(file)
--- a/
test/DebugInfo/empty.ll
+++ b/
test/DebugInfo/empty.ll
@@
-1,6
+1,7
@@
; REQUIRES: object-emission
; RUN: %llc_dwarf < %s -filetype=obj | llvm-dwarfdump - | FileCheck %s
; REQUIRES: object-emission
; RUN: %llc_dwarf < %s -filetype=obj | llvm-dwarfdump - | FileCheck %s
+; RUN: %llc_dwarf -split-dwarf=Enable < %s -filetype=obj | llvm-dwarfdump - | FileCheck --check-prefix=FISSION %s
; darwin has a workaround for a linker bug so it always emits one line table entry
; XFAIL: darwin
; darwin has a workaround for a linker bug so it always emits one line table entry
; XFAIL: darwin
@@
-17,6
+18,9
@@
; CHECK: .debug_pubtypes contents:
; CHECK-NOT: Offset
; CHECK: .debug_pubtypes contents:
; CHECK-NOT: Offset
+; Don't emit DW_AT_addr_base when there are no addresses.
+; FISSION-NOT: DW_AT_GNU_addr_base [DW_FORM_sec_offset]
+
!llvm.dbg.cu = !{!0}
!llvm.module.flags = !{!5}
!llvm.dbg.cu = !{!0}
!llvm.module.flags = !{!5}