Displaying 2 results from an estimated 2 matches for "3362dcd9".
2018 Feb 07
0
ThinLTO and linkonce_odr + unnamed_addr
...auto-hiding, then? It could do the check of, are all declarations marked
local_unnamed_addr, if so, make it weak_odr + unnamed_addr +
visibility=hidden?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180207/3362dcd9/attachment.html>
2018 Feb 07
2
ThinLTO and linkonce_odr + unnamed_addr
> From looking at the code, it seems like LLVM is basically opting MachO
into -fvisibility-inlines-hidden all the time, i.e. if the function is
linkonce, it's discardable, so mark it hidden to pretend the compiler
inlined it and discarded it. However, this isn't conforming, because the
addresses of inline functions will no longer compare equal across DSOs.
I think there is a nuance, it