Index: lldb/trunk/lit/Expr/Inputs/anonymous-struct.cpp =================================================================== --- lldb/trunk/lit/Expr/Inputs/anonymous-struct.cpp +++ lldb/trunk/lit/Expr/Inputs/anonymous-struct.cpp @@ -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: lldb/trunk/lit/Expr/TestCallStdStringFunction.test =================================================================== --- lldb/trunk/lit/Expr/TestCallStdStringFunction.test +++ lldb/trunk/lit/Expr/TestCallStdStringFunction.test @@ -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: lldb/trunk/lit/Expr/TestCallStopAndContinue.test =================================================================== --- lldb/trunk/lit/Expr/TestCallStopAndContinue.test +++ lldb/trunk/lit/Expr/TestCallStopAndContinue.test @@ -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: lldb/trunk/lit/Expr/TestCallUserAnonTypedef.test =================================================================== --- lldb/trunk/lit/Expr/TestCallUserAnonTypedef.test +++ lldb/trunk/lit/Expr/TestCallUserAnonTypedef.test @@ -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: lldb/trunk/lit/Expr/TestCallUserDefinedFunction.test =================================================================== --- lldb/trunk/lit/Expr/TestCallUserDefinedFunction.test +++ lldb/trunk/lit/Expr/TestCallUserDefinedFunction.test @@ -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