[Lldb-commits] [lldb] 6bc1e69 - [lldb] Fix Error/assert.test regression with symbols
Jan Kratochvil via lldb-commits
lldb-commits at lists.llvm.org
Sun Mar 28 23:18:12 PDT 2021
Author: Jan Kratochvil
Date: 2021-03-29T08:16:43+02:00
New Revision: 6bc1e69de270db8d7191200f54158e4192f997ba
URL: https://github.com/llvm/llvm-project/commit/6bc1e69de270db8d7191200f54158e4192f997ba
DIFF: https://github.com/llvm/llvm-project/commit/6bc1e69de270db8d7191200f54158e4192f997ba.diff
LOG: [lldb] Fix Error/assert.test regression with symbols
LLDB on Linux built with symbols is showing this error.
Without symbols it still PASSes:
lldb-test: .../lldb/source/Utility/LLDBAssert.cpp:29: void lldb_private::lldb_assert(bool, const char *, const char *, const char *, unsigned int): Assertion `false && "lldb_assert failed"' failed.
With symbols it FAILs:
lldb-test: .../lldb/tools/lldb-test/lldb-test.cpp:1086: int opts::assert::lldb_assert(lldb_private::Debugger &): Assertion `false && "lldb-test assert"' failed.
Differential Revision: https://reviews.llvm.org/D99462
Added:
Modified:
lldb/test/Shell/Error/assert.test
Removed:
################################################################################
diff --git a/lldb/test/Shell/Error/assert.test b/lldb/test/Shell/Error/assert.test
index 92ccd134b92d..2585e64f3952 100644
--- a/lldb/test/Shell/Error/assert.test
+++ b/lldb/test/Shell/Error/assert.test
@@ -1,4 +1,4 @@
# REQUIRES: asserts
# RUN: not --crash lldb-test assert > %t.error 2>&1
# RUN: cat %t.error | FileCheck %s
-# CHECK: "lldb_assert failed"
+# CHECK: "{{lldb_assert failed|lldb-test assert}}"' failed.
More information about the lldb-commits
mailing list