Index: lldb/trunk/lit/Reproducer/Functionalities/Inputs/DataFormatter.in =================================================================== --- lldb/trunk/lit/Reproducer/Functionalities/Inputs/DataFormatter.in +++ lldb/trunk/lit/Reproducer/Functionalities/Inputs/DataFormatter.in @@ -1,7 +1,7 @@ breakpoint set -f foo.cpp -l 11 run -frame var +frame var foo next -frame var +frame var foo cont reproducer generate Index: lldb/trunk/lit/Reproducer/Functionalities/Inputs/foo.cpp =================================================================== --- lldb/trunk/lit/Reproducer/Functionalities/Inputs/foo.cpp +++ lldb/trunk/lit/Reproducer/Functionalities/Inputs/foo.cpp @@ -8,6 +8,6 @@ }; int main(int argc, char **argv) { - Foo foo(1, 2.22); + static Foo foo(1, 2.22); return 0; } Index: lldb/trunk/lit/Reproducer/Functionalities/TestDataFormatter.test =================================================================== --- lldb/trunk/lit/Reproducer/Functionalities/TestDataFormatter.test +++ lldb/trunk/lit/Reproducer/Functionalities/TestDataFormatter.test @@ -3,7 +3,7 @@ # This tests that data formatters continue to work when replaying a reproducer. # RUN: rm -rf %t.repro -# RUN: %clang %S/Inputs/foo.cpp -g -o %t.out +# RUN: %clangxx %S/Inputs/foo.cpp -g -o %t.out # RUN: %lldb -x -b -s %S/Inputs/DataFormatter.in --capture %t.repro %t.out | FileCheck %s # RUN: %lldb --replay %t.repro | FileCheck %s