llvm-project
341793b5 - [lldb] Move ValueImpl and ValueLocker to ValueObject, NFC. (#178573)

Commit
19 days ago
[lldb] Move ValueImpl and ValueLocker to ValueObject, NFC. (#178573) This patch moves ValueImpl and ValueLocker to ValueObject.{h,cpp}. This follows the example set in TypeImpl/SBType, where we have something that SBType uses internally that needs to be exposed in the layer below. In this case, SBValue uses ValueImpl, which wraps ValueObject. The wrapper helps avoid bugs, so we want to keep it, but the script interpreter needs to use it and said interpreter is conceptually *below* the SB layer...which means we can't use methods on SBValue. This patch is purely the code motion part of that, future patches will actually make use of this moved code. (cherry picked from commit 58f623c504d14743e465f988848f9c16dc220a3b)
Author
Committer
Parents
Loading