diff options
Diffstat (limited to 'include/lldb/Expression/IRInterpreter.h')
-rw-r--r-- | include/lldb/Expression/IRInterpreter.h | 45 |
1 files changed, 19 insertions, 26 deletions
diff --git a/include/lldb/Expression/IRInterpreter.h b/include/lldb/Expression/IRInterpreter.h index 14c145b91c26..b821e6750b2d 100644 --- a/include/lldb/Expression/IRInterpreter.h +++ b/include/lldb/Expression/IRInterpreter.h @@ -10,22 +10,21 @@ #ifndef liblldb_IRInterpreter_h_ #define liblldb_IRInterpreter_h_ -#include "lldb/lldb-public.h" #include "lldb/Core/ConstString.h" #include "lldb/Core/Stream.h" +#include "lldb/lldb-public.h" #include "llvm/ADT/ArrayRef.h" #include "llvm/Pass.h" namespace llvm { - class Function; - class Module; +class Function; +class Module; } namespace lldb_private { class ClangExpressionDeclMap; class IRMemoryMap; - } //---------------------------------------------------------------------- @@ -37,29 +36,23 @@ class IRMemoryMap; /// in the debugger, manipulating variables but not executing any code /// in the target. The IRInterpreter attempts to do this. //---------------------------------------------------------------------- -class IRInterpreter -{ +class IRInterpreter { public: - static bool - CanInterpret (llvm::Module &module, - llvm::Function &function, - lldb_private::Error &error, - const bool support_function_calls); - - static bool - Interpret (llvm::Module &module, - llvm::Function &function, - llvm::ArrayRef<lldb::addr_t> args, - lldb_private::IRExecutionUnit &execution_unit, - lldb_private::Error &error, - lldb::addr_t stack_frame_bottom, - lldb::addr_t stack_frame_top, - lldb_private::ExecutionContext &exe_ctx); - -private: - static bool - supportsFunction (llvm::Function &llvm_function, - lldb_private::Error &err); + static bool CanInterpret(llvm::Module &module, llvm::Function &function, + lldb_private::Error &error, + const bool support_function_calls); + + static bool Interpret(llvm::Module &module, llvm::Function &function, + llvm::ArrayRef<lldb::addr_t> args, + lldb_private::IRExecutionUnit &execution_unit, + lldb_private::Error &error, + lldb::addr_t stack_frame_bottom, + lldb::addr_t stack_frame_top, + lldb_private::ExecutionContext &exe_ctx); + +private: + static bool supportsFunction(llvm::Function &llvm_function, + lldb_private::Error &err); }; #endif |