search for: 4b424a4e

Displaying 2 results from an estimated 2 matches for "4b424a4e".

2018 Feb 07
0
ThinLTO and linkonce_odr + unnamed_addr
On Wed, Feb 7, 2018 at 11:35 AM, Mehdi AMINI <joker.eph at gmail.com> wrote: > > 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
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