This revision was automatically updated to reflect the committed changes. Closed by commit rL355611: Fix TestDataFormatter.test uninitialized variable (authored by jankratochvil, committed by ). Herald added a project: LLVM. Herald added a subscriber: llvm-commits.
Changed prior to commit: https://reviews.llvm.org/D59088?vs=189685&id=189735#toc Repository: rL LLVM CHANGES SINCE LAST ACTION https://reviews.llvm.org/D59088/new/ https://reviews.llvm.org/D59088 Files: lldb/trunk/lit/Reproducer/Functionalities/Inputs/DataFormatter.in lldb/trunk/lit/Reproducer/Functionalities/Inputs/foo.cpp lldb/trunk/lit/Reproducer/Functionalities/TestDataFormatter.test 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/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/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
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/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/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
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits