Nobody but I sees dlsym handles const :-) Give in.
This commit is contained in:
parent
05f7752740
commit
3b64a6b98a
@ -592,7 +592,7 @@ namespace cling {
|
||||
/// a shared library that would otherwise not be used for symbol
|
||||
/// resolution, e.g. because it was dlopened with RTLD_LOCAL.
|
||||
///\param [in] DyLibHandle - the system specific shared library handle.
|
||||
static void ExposeHiddenSharedLibrarySymbols(const void* DyLibHandle);
|
||||
static void ExposeHiddenSharedLibrarySymbols(void* DyLibHandle);
|
||||
|
||||
///\brief Get the collection of loaded files.
|
||||
///
|
||||
|
@ -874,7 +874,7 @@ namespace cling {
|
||||
}
|
||||
|
||||
void
|
||||
Interpreter::ExposeHiddenSharedLibrarySymbols(const void* DyLibHandle) {
|
||||
Interpreter::ExposeHiddenSharedLibrarySymbols(void* DyLibHandle) {
|
||||
llvm::sys::DynamicLibrary::addPermanentLibrary(const_cast<void*>(DyLibHandle));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user