[Libreoffice-commits] core.git: vcl/unx

Stephan Bergmann sbergman at redhat.com
Tue Mar 24 06:39:27 PDT 2015


 vcl/unx/generic/plugadapt/salplug.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 32d6e8fc22c1db14f17bb7b030ba26327752b300
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Mar 24 14:37:27 2015 +0100

    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

diff --git a/vcl/unx/generic/plugadapt/salplug.cxx b/vcl/unx/generic/plugadapt/salplug.cxx
index 038951b..d49dccd 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<salFactoryProc>(osl_getAsciiFunctionSymbol( aMod, "create_SalInstance" ));


More information about the Libreoffice-commits mailing list