Displaying 1 result from an estimated 1 matches for "linker_intern".
Did you mean:
linker_internal
2014 Mar 08
6
[LLVMdev] [RFC] Linkage of user-supplied library functions in LTO
...mpiler.used so that
optimizations don’t modify them, and then optimizations incorrectly
modify them. LLVM *really* doesn't expect library functions to have
local linkage.
And I’m not sure internal linkage is the right model anyway.
I see two paths forward:
1. Add a new linkage type called “linker_internal”, which LLVM treats as
a type of non-local linkage, but gets emitted as internal. This
might be worth it if linkers don’t dead strip external symbols.
2. If linkers *do* dead strip external symbols, then we should not
internalize user-supplied library functions in -internalize.
Do...