Kaydet (Commit) 357112d7 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Export RTTI symbols from liblo-native-code.so, for binary UNO bridge

This will become important when switching armeabi-v7a to
libc++/libc++abi/libunwind (coming soon) which uses address instead of string
comparison when checking for type equality, so that exceptions thrown from the
binary UNO bridge will need to use the exact same RTTI objects as referenced
from the compiled catch clauses.

Change-Id: If8bcb39212b5f5e154aee215cb5f471fe2dc4a7b
Reviewed-on: https://gerrit.libreoffice.org/64965
Tested-by: Jenkins
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst e465f9ae
......@@ -2,6 +2,7 @@ dummy {
_ZTI*; _ZTS*; # weak RTTI symbols for C++ exceptions
......@@ -148,9 +148,6 @@ namespace CPPU_CURRENT_NAMESPACE
rtti = (type_info *)dlsym( m_hApp, symName.getStr() );
rtti = (type_info *)dlsym( RTLD_DEFAULT, symName.getStr() );
// Unfortunately dlsym for weak symbols doesn't work in
// Android 4.0 at least, sigh, so we will always take the
// else branch below.
if (rtti)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment