[llvm-branch-commits] [lldb] [lldb] Allow multiple ABI runtimes for C++ (PR #212015)

Michael Buch via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Jul 27 04:14:59 PDT 2026


================
@@ -17,6 +17,27 @@ using namespace lldb_private;
 
 CommonABIRuntime::CommonABIRuntime(Process *process) : m_process(process) {}
 
+bool CommonABIRuntime::IsVTableSymbol(Mangled &mangled) const { return false; }
+
+bool CommonABIRuntime::GetDynamicTypeAndAddress(
+    ValueObject &in_value, lldb::DynamicValueType use_dynamic,
+    const LanguageRuntime::VTableInfo &vtable_info,
+    TypeAndOrName &class_type_or_name, Address &dynamic_address) {
+  return false;
+}
+
+void CommonABIRuntime::AppendExceptionBreakpointFunctions(
+    std::vector<const char *> &names, bool catch_bp, bool throw_bp,
+    bool for_expressions) {}
+
+void CommonABIRuntime::AppendExceptionBreakpointFilterModules(
+    FileSpecList &list, const Target &target) {}
+
+lldb::ValueObjectSP
+CommonABIRuntime::GetExceptionObjectForThread(lldb::ThreadSP thread_sp) {
+  return {};
+}
----------------
Michael137 wrote:

Personal preference, but might be nicer to inline these empty-body virtual APIs (which we do elsewhere, but not sure there's written guidance on this)

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


More information about the llvm-branch-commits mailing list