diff options
| author | Jim Ingham <jingham@apple.com> | 2018-04-17 20:44:47 +0000 |
|---|---|---|
| committer | Jim Ingham <jingham@apple.com> | 2018-04-17 20:44:47 +0000 |
| commit | 1ecb34f4ab983869eb3161d687f2994c6e0c69be (patch) | |
| tree | 9cd26cc3d44e46ea0bce09c39cf326bdaea76853 /lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.h | |
| parent | f4832793924d1321f2b95622bce2405835351070 (diff) | |
| download | bcm5719-llvm-1ecb34f4ab983869eb3161d687f2994c6e0c69be.tar.gz bcm5719-llvm-1ecb34f4ab983869eb3161d687f2994c6e0c69be.zip | |
Change PlatformPosix::DoLoadImage to use a UtilityFunction.
That way we won't have to compile a new expression every time we want
dlopen a library.
<rdar://problem/32626584>
Differential Revision: https://reviews.llvm.org/D45703
llvm-svn: 330214
Diffstat (limited to 'lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.h')
| -rw-r--r-- | lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.h b/lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.h index 774842810de..d9ebdff72df 100644 --- a/lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.h +++ b/lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.h @@ -200,6 +200,10 @@ protected: EvaluateLibdlExpression(lldb_private::Process *process, const char *expr_cstr, llvm::StringRef expr_prefix, lldb::ValueObjectSP &result_valobj_sp); + + lldb_private::UtilityFunction * + MakeLoadImageUtilityFunction(lldb_private::ExecutionContext &exe_ctx, + lldb_private::Status &error); virtual llvm::StringRef GetLibdlFunctionDeclarations(lldb_private::Process *process); |

