search for: __sync_val_compare_and_swap_8

Displaying 2 results from an estimated 2 matches for "__sync_val_compare_and_swap_8".

2019 Jun 17
3
lld symbol choice for symbol present in both a shared and a static library, with and without LTO
...ernatives are possible, without breaking the scenarios handleLibcall is supposed to handle. I see a few possibilities here: 1. Whenever we see any bitcode file, treat it as referencing every possible runtime function, even those defined in non-bitcode static libraries. Then we try to resolve the __sync_val_compare_and_swap_8 issue from https://reviews.llvm.org/D50475 some other way. 2. Change the symbol resolution that runs after LTO to use a different symbol resolution rules from normal non-LTO/before-LTO symbol resolution, so it finds the function from the static library instead of the shared library. 3. Change symbo...
2019 Jun 14
4
lld symbol choice for symbol present in both a shared and a static library, with and without LTO
I filed https://bugs.llvm.org/show_bug.cgi?id=42273 last night, about an inconsistency between LTO and non-LTO workflows. The basic scenario is that we have an object file which calls a function "foo", a static library that provides an implementation of "foo", and a shared library that also provides an implementation of "foo". Currently, whether lld chooses the