aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h
diff options
context:
space:
mode:
authorJon Chesterfield <jonathanchesterfield@gmail.com>2021-07-22 16:54:10 +0100
committerJon Chesterfield <jonathanchesterfield@gmail.com>2021-07-22 16:54:10 +0100
commit1a965706219efd40c7e2548e317311266187bb09 (patch)
treeb6eb9cfef17db681e52fa476c5e7a54b600f5b3b /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h
parent26ea4a4432431ce581e46746fa93981ad7f891d0 (diff)
downloadllvm-1a965706219efd40c7e2548e317311266187bb09.zip
llvm-1a965706219efd40c7e2548e317311266187bb09.tar.gz
llvm-1a965706219efd40c7e2548e317311266187bb09.tar.bz2
[libomptarget][amdgpu] Implement dlopen of libhsa
AMDGPU plugin equivalent of D95155, build without HSA installed locally Compiles a new file, plugins/amdgpu/dynamic_hsa/hsa.cpp, to an object file that exposes the same symbols that the plugin presently uses from hsa. The object file contains dlopen of hsa and cached dlsym calls. Also provides header files corresponding to the subset that is used. This is behind a feature flag, LIBOMPTARGET_FORCE_DLOPEN_LIBHSA, default off. That allows developers to build against the dlopen/dlsym implementation, e.g. while testing this mode. Enabling by default will cause this plugin to build on a wider variety of machines than it does at present so may break some CI builds. That risk can be minimised by reviewing the header dependencies of the library and ensuring it doesn't use any libraries that are not already used by libomptarget. Separating the implementation from enabling by default in case the latter needs to be rolled back after wider CI results. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D106559
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h')
0 files changed, 0 insertions, 0 deletions