Index: lit/Expr/Inputs/anonymous-struct.cpp =================================================================== --- lit/Expr/Inputs/anonymous-struct.cpp +++ /dev/null @@ -1,26 +0,0 @@ -#include - -typedef struct { - float f; - int i; -} my_untagged_struct; - -double multiply(my_untagged_struct *s) -{ - return s->f * s->i; -} - -double multiply(my_untagged_struct *s, int x) -{ - return multiply(s) * x; -} - -int main(int argc, char **argv) -{ - my_untagged_struct s = { - .f = (float)argc, - .i = argc, - }; - // lldb testsuite break - return !(multiply(&s, argc) == pow(argc, 3)); -} Index: lit/Expr/TestCallStdStringFunction.test =================================================================== --- lit/Expr/TestCallStdStringFunction.test +++ /dev/null @@ -1,11 +0,0 @@ -# XFAIL: windows -# -> llvm.org/pr21765 - -# RUN: %cxx %p/Inputs/call-function.cpp -g -o %t && %lldb -b -s %s -- %t | FileCheck %s - -breakpoint set --file call-function.cpp --line 52 -run -print str -# CHECK: Hello world -print str.c_str() -# CHECK: Hello world Index: lit/Expr/TestCallStopAndContinue.test =================================================================== --- lit/Expr/TestCallStopAndContinue.test +++ /dev/null @@ -1,12 +0,0 @@ -# XFAIL: windows -# -> llvm.org/pr24489 - -# RUN: %cxx %p/Inputs/call-function.cpp -g -o %t && %lldb -b -s %s -o continue -o "thread list" -- %t 2>&1 | FileCheck %s - -breakpoint set --file call-function.cpp --line 52 -run -breakpoint set --file call-function.cpp --line 14 -expression -i false -- returnsFive() -# CHECK: Execution was interrupted, reason: breakpoint -# CHECK: stop reason = User Expression thread plan -# CHECK: Completed expression: (Five) $0 = (number = 5{{.*}}, name = "five") Index: lit/Expr/TestCallUserAnonTypedef.test =================================================================== --- lit/Expr/TestCallUserAnonTypedef.test +++ /dev/null @@ -1,11 +0,0 @@ -# XFAIL: windows - -# XFAIL: armhf-linux -# -> llvm.org/pr27868 - -# RUN: %cxx %p/Inputs/anonymous-struct.cpp -g -o %t && %lldb -b -s %s -- %t | FileCheck %s - -breakpoint set --file anonymous-struct.cpp --line 24 -run -expression multiply(&s) -# CHECK: $0 = 1 Index: lit/Expr/TestCallUserDefinedFunction.test =================================================================== --- lit/Expr/TestCallUserDefinedFunction.test +++ /dev/null @@ -1,20 +0,0 @@ -# XFAIL: windows -# -> llvm.org/pr24489 - -# RUN: %cxx %p/Inputs/call-function.cpp -g -o %t && %lldb -b -s %s -- %t | FileCheck %s - -breakpoint set --file call-function.cpp --line 52 -run -expression fib(5) -# CHECK: $0 = 5 -expression add(4,8) -# CHECK: $1 = 12 - -expression add(add(5,2),add(3,4)) -# CHECK: $2 = 14 -expression add(add(5,2),fib(5)) -# CHECK: $3 = 12 -expression stringCompare((const char*) "Hello world") -# CHECK: $4 = true -expression stringCompare((const char*) "Hellworld") -# CHECK: $5 = false