[Lldb-commits] [PATCH] D148151: [lldb] Add 'CHECK' to class-type-nullptr-deref.s test.

Caroline Tice via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Apr 13 08:19:01 PDT 2023


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.
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148151.513246.patch
Type: text/x-patch
Size: 669 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20230413/7bab038e/attachment-0001.bin>


More information about the lldb-commits mailing list