diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-01-26 14:57:05 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-01-26 15:17:28 +0100 |
commit | 598d8194b0ea1a64e0ebba28a86c128bafa57c7c (patch) | |
tree | c81c2a85795c6218327d2c40dc2a52850a7d22ef /include/uno | |
parent | 64235bc9896911b4abfca47089ac1e71056afea7 (diff) |
Visible function type RTTI for Clang -fsanitize=function
...by adding some further SAL_DLLPUBLIC_RTTI type annotations (cf.
b4f6b26b5a1a78fecfa95ec2eb7ac8b80495d8aa "SAL_DLLPUBLIC_RTTI for proper RTTI
visibility for LLVM") and by making sure relevant function types do not use
incomplete types in their parameter and return types (which would make the RTTI
hidden).
Change-Id: Id7aadcbc0704b9759968ae36266fc9ce11a2e340
Diffstat (limited to 'include/uno')
-rw-r--r-- | include/uno/any2.h | 2 | ||||
-rw-r--r-- | include/uno/dispatcher.h | 2 | ||||
-rw-r--r-- | include/uno/environment.h | 4 | ||||
-rw-r--r-- | include/uno/mapping.h | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/include/uno/any2.h b/include/uno/any2.h index 49a0d35e4c8b..556476dd5d89 100644 --- a/include/uno/any2.h +++ b/include/uno/any2.h @@ -37,7 +37,7 @@ struct _uno_Mapping; /** This is the binary specification of an UNO any. */ -typedef struct _uno_Any +typedef struct SAL_DLLPUBLIC_RTTI _uno_Any { /** type of value */ diff --git a/include/uno/dispatcher.h b/include/uno/dispatcher.h index 71d1563db09a..d4bde04d077e 100644 --- a/include/uno/dispatcher.h +++ b/include/uno/dispatcher.h @@ -58,7 +58,7 @@ typedef void (SAL_CALL * uno_DispatchMethod)( /** The binary C uno interface description. */ -typedef struct _uno_Interface +typedef struct SAL_DLLPUBLIC_RTTI _uno_Interface { /** Acquires uno interface. diff --git a/include/uno/environment.h b/include/uno/environment.h index f9ab4e68cae9..d0051227ac69 100644 --- a/include/uno/environment.h +++ b/include/uno/environment.h @@ -38,7 +38,7 @@ struct _typelib_InterfaceTypeDescription; /** The binary specification of an UNO environment. */ -typedef struct _uno_Environment +typedef struct SAL_DLLPUBLIC_RTTI _uno_Environment { /** reserved for future use (0 if not used) */ @@ -130,7 +130,7 @@ typedef void * (SAL_CALL * uno_memAlloc)( sal_Size nBytes ); /** The binary specification of an UNO environment supporting interface registration. */ -typedef struct _uno_ExtEnvironment +typedef struct SAL_DLLPUBLIC_RTTI _uno_ExtEnvironment { /** inherits all members of an uno_Environment */ diff --git a/include/uno/mapping.h b/include/uno/mapping.h index 7673514e0a2d..5a55fbf68b45 100644 --- a/include/uno/mapping.h +++ b/include/uno/mapping.h @@ -61,7 +61,7 @@ typedef void (SAL_CALL * uno_MapInterfaceFunc)( /** This is the binary specification of a mapping. */ -typedef struct _uno_Mapping +typedef struct SAL_DLLPUBLIC_RTTI _uno_Mapping { /** Acquires mapping */ |