[llvm-commits] [llvm] r56341 - in /llvm/trunk: include/llvm/ include/llvm/Transforms/ lib/Transforms/IPO/ test/Analysis/GlobalsModRef/ test/Transforms/AddReadAttrs/

Nick Lewycky nicholas at mxc.ca
Sun Sep 21 07:47:27 PDT 2008


Anton Korobeynikov wrote:
> Hi, Duncan
> 
>> I see.  For functions, which linkage types mean that the body
>> (definition) cannot be relied upon as being correct?  I'll add
>> a method (isDefinitive?) for this.
> AFAIR, isWeakForLinker() checks exactly for this stuff (weak +
> linkonce + common linkages).

I once asked what "isWeakForLinker" actually meant but didn't get a 
response. I find "isDefinitive" a much better name, if that's what it's 
actually doing!

Nick




More information about the llvm-commits mailing list