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

Jeremy Morse via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 10 02:47:22 PST 2021


Author: Jeremy Morse
Date: 2021-02-10T10:46:58Z
New Revision: 013613964fd9b8125c9ea6671ae31d215ad853e2

URL: https://github.com/llvm/llvm-project/commit/013613964fd9b8125c9ea6671ae31d215ad853e2
DIFF: https://github.com/llvm/llvm-project/commit/013613964fd9b8125c9ea6671ae31d215ad853e2.diff

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

Was e05c10380ce, reverted in d7d0b17de77, 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.

Added: 
    

Modified: 
    llvm/test/DebugInfo/Generic/missing-abstract-variable.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/DebugInfo/Generic/missing-abstract-variable.ll b/llvm/test/DebugInfo/Generic/missing-abstract-variable.ll
index 0cdfe0b7728d..4089e67a6e6b 100644
--- a/llvm/test/DebugInfo/Generic/missing-abstract-variable.ll
+++ b/llvm/test/DebugInfo/Generic/missing-abstract-variable.ll
@@ -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}}


        


More information about the llvm-commits mailing list