Ensure RTTI symbol visibility for Linux Clang -fsanitize=function,vptr
use RTLD_GLOBAL, similar to 62b124b2704adf11a63681164d05a8eb49dfb105 "Ensure RTTI symbol visibility for Linux Clang -fsanitize=function,vptr" Change-Id: I8b3e8681b5ec07fa67f035651c1a99652a56b7f9
This commit is contained in:
parent
4cc1bcbaed
commit
32d6e8fc22
@ -84,7 +84,7 @@ static SalInstance* tryInstance( const OUString& rModuleBase, bool bForce = fals
|
||||
|
||||
oslModule aMod = osl_loadModuleRelative(
|
||||
reinterpret_cast< oslGenericFunction >( &tryInstance ), aModule.pData,
|
||||
SAL_LOADMODULE_DEFAULT );
|
||||
SAL_LOADMODULE_GLOBAL );
|
||||
if( aMod )
|
||||
{
|
||||
salFactoryProc aProc = reinterpret_cast<salFactoryProc>(osl_getAsciiFunctionSymbol( aMod, "create_SalInstance" ));
|
||||
|
Loading…
x
Reference in New Issue
Block a user