Skip to content

Commit c8627e4

Browse files
committed
Revert "[lldb] Provide a better error message for missing symbols (#89433)"
This reverts commit 08163cd. I accidentally broke the test while addressing review feedback.
1 parent 11019be commit c8627e4

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

lldb/source/Expression/IRExecutionUnit.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -431,9 +431,7 @@ void IRExecutionUnit::GetRunnableInfo(Status &error, lldb::addr_t &func_addr,
431431
}
432432

433433
m_failed_lookups.clear();
434-
ss.PutCString(
435-
"\nHint: The expression tried to call a function that is not present "
436-
"in the target, perhaps because it was optimized out by the compiler.");
434+
437435
error.SetErrorString(ss.GetString());
438436

439437
return;

lldb/test/API/lang/cpp/constructors/TestCppConstructors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def test_constructors(self):
4747
self.expect(
4848
"expr ClassWithDeletedDefaultCtor().value",
4949
error=True,
50-
substrs=["Couldn't look up symbols:", "function missing"],
50+
substrs=["Couldn't look up symbols:"],
5151
)
5252

5353
@skipIfWindows # Can't find operator new.

0 commit comments

Comments
 (0)