search for: prevailing_def

Displaying 1 result from an estimated 1 matches for "prevailing_def".

2015 Dec 08
2
weak definitions in LTO
Hi, I have a question regarding the behavior of weak symbol resolution in LTO: Suppose there are weak definitions in both the source code and some native lib. In non-LTO path, we will use the version from source code. In LTO path, LLVM may discard the definition as it has "linkeonce" linkage type. So the native version will be selected by linker. Now, non-LTO and LTO build may have