[llvm-commits] [llvm] r73225 - /llvm/trunk/test/Transforms/MergeFunc/fold-weak.ll

Duncan Sands baldrick at free.fr
Fri Jun 12 07:06:16 PDT 2009


Hi Nick,

> This test is wrong. If you have two weak functions F and G you can't make
> either one call the other since either one can be replaced at link time, and
> they need to be independent.

you can always turn them into thunks to a third internal function.  But
I'm sure you already thought of that :)

Ciao,

Duncan.



More information about the llvm-commits mailing list