================ @@ -96,6 +96,41 @@ class Expression { ///invalid. }; +/// Holds parsed information about a function call label that +/// LLDB attaches as an AsmLabel to function AST nodes it parses +/// from debug-info. +/// +/// The format being: +/// +/// <prefix>:<mangled name>:<module id>:<DIE id> +/// +/// The label string needs to stay valid for the entire lifetime +/// of this object. +struct FunctionCallLabel { + /// Mostly for debuggability. + llvm::StringRef m_pubname; + + lldb::user_id_t m_die_id; ---------------- Michael137 wrote:
Technically we could just encode the mangled name and module ID. Since we're just doing a mangled name lookup within the module anyway. 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