[all-commits] [llvm/llvm-project] 94819c: [LLDB] Modify CreateValueObjectFrom* to take an Ex...
Adrian Prantl via All-commits
all-commits at lists.llvm.org
Thu Mar 12 16:08:26 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 94819cc7b19bba7d11e59a8292a4090757f61562
https://github.com/llvm/llvm-project/commit/94819cc7b19bba7d11e59a8292a4090757f61562
Author: Adrian Prantl <aprantl at apple.com>
Date: 2026-03-12 (Thu, 12 Mar 2026)
Changed paths:
M lldb/include/lldb/ValueObject/ValueObject.h
M lldb/source/API/SBValue.cpp
M lldb/source/ValueObject/DILEval.cpp
M lldb/source/ValueObject/ValueObject.cpp
M lldb/unittests/DataFormatter/FormatterSectionTest.cpp
Log Message:
-----------
[LLDB] Modify CreateValueObjectFrom* to take an ExecutionContext (#185547)
Currently these functions take a target pointer. In Cross-language
projects this means it's down to chance what typesystem the resulting
value will be in, since the implementation returns the first scratch
type system in the target, which depends on the order of images and
their implementation language.
By passing in an execution context the selected frame is used to
determine the typesystem, which is usually the expected outcome when
using DIL.
This should be entirely NFC for Clang-only LLDBs, but is a necessity for
LLDBs with additional type system plugins such as the Swift plugin.
Assisted by Claude to patch the call sites.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list