[llvm-commits] [lto][patch] Remove weak attempt of tracking symbols defined in module level assembly

Chris Lattner clattner at apple.com
Mon Feb 21 16:19:49 PST 2011


On Feb 21, 2011, at 3:54 PM, Rafael Ávila de Espíndola wrote:

>> This patch may not be the most elegant, but if a linker queries about
>> symbols defined in a llvm::Module then that query should
>> appropriately include module asm symbols such that the linker can
>> make sense of their names.
> 
> OK, so it is a limitation of the Apple linker.
> 
> Given that this produces wrong (and more confusing) results in the
> example I posted, would it be OK for this to be conditional on a Mach-O
> target until we switch libLTO to use MC?

Yes, that's fine with me.

-Chris



More information about the llvm-commits mailing list