================
@@ -259,7 +259,9 @@ class InterpreterStackFrame {
       break;
     case Value::FunctionVal:
       if (const Function *constant_func = dyn_cast<Function>(constant)) {
-        lldb_private::ConstString name(constant_func->getName());
+        lldb_private::ConstString name(
+            llvm::GlobalValue::dropLLVMManglingEscape(
+                constant_func->getName()));
----------------
Michael137 wrote:

Had to drop the `\01` mangling prefix here since we're not creating literal 
`AsmLabel`s anymore. Fixed a couple of test failures where we ran expressions 
like `expression func` (to print the function pointer). We would try to find 
the symbol here (including the mangling prefix) and fail.

https://github.com/llvm/llvm-project/pull/148877
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to