From 32d6e8fc22c1db14f17bb7b030ba26327752b300 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 24 Mar 2015 14:37:27 +0100 Subject: [PATCH] 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 --- vcl/unx/generic/plugadapt/salplug.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcl/unx/generic/plugadapt/salplug.cxx b/vcl/unx/generic/plugadapt/salplug.cxx index 038951bd5280..d49dccde817b 100644 --- a/vcl/unx/generic/plugadapt/salplug.cxx +++ b/vcl/unx/generic/plugadapt/salplug.cxx @@ -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(osl_getAsciiFunctionSymbol( aMod, "create_SalInstance" ));