This revision was automatically updated to reflect the committed changes. Closed by commit rGbe58b42a7510: [lldb] Add 'CHECK' to class-type-nullptr-deref.s test. (authored by cmtice). Herald added a project: LLDB. Herald added a subscriber: lldb-commits.
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D148151/new/ https://reviews.llvm.org/D148151 Files: lldb/test/Shell/SymbolFile/DWARF/x86/class-type-nullptr-deref.s Index: lldb/test/Shell/SymbolFile/DWARF/x86/class-type-nullptr-deref.s =================================================================== --- lldb/test/Shell/SymbolFile/DWARF/x86/class-type-nullptr-deref.s +++ lldb/test/Shell/SymbolFile/DWARF/x86/class-type-nullptr-deref.s @@ -2,7 +2,9 @@ # null), LLDB does not try to dereference the null pointer. # RUN: llvm-mc --triple x86_64-pc-linux %s --filetype=obj -o %t -# RUN: %lldb %t -o "target variable x" -o exit 2>&1 +# RUN: %lldb %t -o "target variable x" -o exit 2>&1 | FileCheck %s + +# CHECK: 'Unable to determine byte size.' # This tests a fix for a crash. If things are working we don't get a segfault.
Index: lldb/test/Shell/SymbolFile/DWARF/x86/class-type-nullptr-deref.s =================================================================== --- lldb/test/Shell/SymbolFile/DWARF/x86/class-type-nullptr-deref.s +++ lldb/test/Shell/SymbolFile/DWARF/x86/class-type-nullptr-deref.s @@ -2,7 +2,9 @@ # null), LLDB does not try to dereference the null pointer. # RUN: llvm-mc --triple x86_64-pc-linux %s --filetype=obj -o %t -# RUN: %lldb %t -o "target variable x" -o exit 2>&1 +# RUN: %lldb %t -o "target variable x" -o exit 2>&1 | FileCheck %s + +# CHECK: 'Unable to determine byte size.' # This tests a fix for a crash. If things are working we don't get a segfault.
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits