[all-commits] [llvm/llvm-project] 381e81: [lldb][NFCI] Remove UserExpression::GetJITModule

Alex via All-commits all-commits at lists.llvm.org
Thu Jan 30 23:23:08 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 381e81a048f8cd6aab6a41c87ad1b1658f052192
      https://github.com/llvm/llvm-project/commit/381e81a048f8cd6aab6a41c87ad1b1658f052192
  Author: Alex Langford <apl at fb.com>
  Date:   2020-01-30 (Thu, 30 Jan 2020)

  Changed paths:
    M lldb/include/lldb/Expression/LLVMUserExpression.h
    M lldb/include/lldb/Expression/UserExpression.h
    M lldb/source/Expression/LLVMUserExpression.cpp
    M lldb/source/Expression/REPL.cpp
    M lldb/source/Expression/UserExpression.cpp
    M lldb/source/Target/Target.cpp

  Log Message:
  -----------
  [lldb][NFCI] Remove UserExpression::GetJITModule

UserExpression::GetJITModule was used to support an option in
UserExpression::Evaluate that let you hold onto the JIT Module used during
the expression evaluation. This was only actually used in one spot --
REPL::IOHandlerInputComplete. That method didn't actually take use the
JIT module it got back, so this feature was not used in practice.
This means that we can delete the support in UserExpression::Evaluate
and delete the UserExpression::GetJITModule method entirely.




More information about the All-commits mailing list