Displaying 4 results from an estimated 4 matches for "fallbackundefatom".
2013 Sep 12
3
[LLVMdev] [lld] Implementing the aliasing feature
...what you want. I'm not sure what the gnu linker does about this with weak aliases. We may need a new resolver option as to how to handle this.
================
Comment at: lib/Core/Resolver.cpp:214
@@ +213,3 @@
+ // for COFF "weak external" symbol.
+ const UndefinedAtom *fallbackUndefAtom = undefAtom->fallback();
+ if (fallbackUndefAtom) {
----------------
You need to re-test:
if (!_symbolTable.isDefined(undefName)
because searchLibraries() may have already found a definition.
http://llvm-reviews.chandlerc.com/D1550
_______________________________________________
llvm-c...
2013 Sep 13
0
[LLVMdev] [lld] Implementing the aliasing feature
...at the gnu linker does about this with weak aliases. We may need a new resolver option as to how to handle this.
>
>
> ================
> Comment at: lib/Core/Resolver.cpp:214
> @@ +213,3 @@
> + // for COFF "weak external" symbol.
> + const UndefinedAtom *fallbackUndefAtom = undefAtom->fallback();
> + if (fallbackUndefAtom) {
> ----------------
> You need to re-test:
> if (!_symbolTable.isDefined(undefName)
> because searchLibraries() may have already found a definition.
>
>
> http://llvm-reviews.chandlerc.com/D1550
> __________...
2013 Sep 13
2
[LLVMdev] [lld] Implementing the aliasing feature
...ut this with weak aliases. We may need a new resolver option as to how to handle this.
>>
>>
>> ================
>> Comment at: lib/Core/Resolver.cpp:214
>> @@ +213,3 @@
>> + // for COFF "weak external" symbol.
>> + const UndefinedAtom *fallbackUndefAtom = undefAtom->fallback();
>> + if (fallbackUndefAtom) {
>> ----------------
>> You need to re-test:
>> if (!_symbolTable.isDefined(undefName)
>> because searchLibraries() may have already found a definition.
>>
>>
>> http://llvm-reviews.chan...
2013 Sep 13
0
[LLVMdev] [lld] Implementing the aliasing feature
...may need a new resolver option as to how to handle this.
>>>
>>>
>>> ================
>>> Comment at: lib/Core/Resolver.cpp:214
>>> @@ +213,3 @@
>>> + // for COFF "weak external" symbol.
>>> + const UndefinedAtom *fallbackUndefAtom = undefAtom->fallback();
>>> + if (fallbackUndefAtom) {
>>> ----------------
>>> You need to re-test:
>>> if (!_symbolTable.isDefined(undefName)
>>> because searchLibraries() may have already found a definition.
>>>
>>>
>...