[Lldb-commits] [lldb] [lldb] Provide a better error message for missing symbols (PR #89433)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 19 11:54:16 PDT 2024


================
@@ -431,7 +431,9 @@ void IRExecutionUnit::GetRunnableInfo(Status &error, lldb::addr_t &func_addr,
     }
 
     m_failed_lookups.clear();
-
+    ss.PutCString(
+        "\nHint: The expression tried to call a function missing from the "
+        "target, perhaps because it was optimized out by the compiler.");
----------------
JDevlieghere wrote:

[bikeshedding] 
... a function that is not available in the target, perhaps because ...
[/bikeshedding]

https://github.com/llvm/llvm-project/pull/89433


More information about the lldb-commits mailing list