[Lldb-commits] [lldb] [lldb] Add enum lookup to DIL (PR #192065)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Fri Apr 17 02:30:36 PDT 2026
================
@@ -380,6 +380,31 @@ lldb::ValueObjectSP LookupIdentifier(llvm::StringRef name_ref,
return nullptr;
}
+lldb::ValueObjectSP LookupEnumValue(llvm::StringRef name_ref,
+ std::shared_ptr<StackFrame> stack_frame) {
+ if (name_ref.contains("::")) {
+ llvm::StringRef enum_typename, enumerator_name;
+ // FIXME: Change this to a structured binding for lambda capturing
+ // once we have C++20.
----------------
Michael137 wrote:
We can already use structured bindings. What do you mean by this?
https://github.com/llvm/llvm-project/pull/192065
More information about the lldb-commits
mailing list