mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-27 15:41:46 +00:00
[lldb] Add 'CHECK' to class-type-nullptr-deref.s test.
This test previously relied on just segfaulting or not. This commit adds a CHECK statement to the test. Differential Revision: https://reviews.llvm.org/D148151
This commit is contained in:
parent
62bf6c2e10
commit
be58b42a75
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user