Reapply [DebugInfo] Re-engineer a test to be stricter, add XFails

Was e05c10380c, reverted in d7d0b17de7, see D95617 for details. I've
added "arm64" to the XFail list (as well as aarch64), will follow up on
the mailing list about whether there's anything else to be done.
This commit is contained in:
Jeremy Morse
2021-02-10 10:27:00 +00:00
parent b89af18d9e
commit 013613964f

View File

@@ -1,5 +1,11 @@
; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s
; The formal parameter 'b' for Function 'x' when inlined within 'a' is lost on
; powerpc64 (and on x86_64 at at least -O2). Presumably this is a SelectionDAG
; issue.
; FIXME: arm64 is an alias for aarch64 on macs, apparently?
; XFAIL: powerpc64, aarch64, arm64
; Build from the following source with clang -O2.
; The important details are that 'x's abstract definition is first built during
@@ -78,6 +84,7 @@
; fastisel succeeds).
; CHECK: DW_TAG_formal_parameter
; CHECK-NOT: DW_TAG
; CHECK: DW_AT_location
; CHECK: DW_AT_abstract_origin {{.*}} "b"
; CHECK-NOT: {{DW_TAG|NULL}}