Home
last modified time | relevance | path

Searched hist:a8e3502c4e0ec26d639bbb75c27a65ec64bc755e (Results 1 – 2 of 2) sorted by relevance

/openbmc/sdbusplus/include/sdbusplus/
H A Dexception.hppdiff a8e3502c4e0ec26d639bbb75c27a65ec64bc755e Tue Sep 28 06:16:52 CDT 2021 Patrick Williams <patrick@stwcx.xyz> exception: ensure base exception vtable is non-hidden

I found that when building this library under Yocto, `-flto=auto` is
used by default and the vtable for the exception class ends up becoming
hidden (since there are no non-pure/non-inline functions). I've tried
using `__attribute__((visibility("default")))` with no luck. The only
thing which seems to work is defining some non-inline function to force
the vtable to be emitted.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Iaac957591be38d38d021503e15e16f0c982808a9
/openbmc/sdbusplus/src/
H A Dexception.cppdiff a8e3502c4e0ec26d639bbb75c27a65ec64bc755e Tue Sep 28 06:16:52 CDT 2021 Patrick Williams <patrick@stwcx.xyz> exception: ensure base exception vtable is non-hidden

I found that when building this library under Yocto, `-flto=auto` is
used by default and the vtable for the exception class ends up becoming
hidden (since there are no non-pure/non-inline functions). I've tried
using `__attribute__((visibility("default")))` with no luck. The only
thing which seems to work is defining some non-inline function to force
the vtable to be emitted.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Iaac957591be38d38d021503e15e16f0c982808a9