On 12 September 2014 16:03, Rafael Espíndola <[email protected]> wrote:
> I can reproduce that this crashes with
>
>  ./bin/clang -cc1 -triple x86_64-apple-macosx -emit-llvm  ~/llvm/test.m -w
>
> because it tries to declare a
>
> l_OBJC_PROTOCOL_$_p1 with a weak linkage.
>
> Nick, does ld64 support having undefined reference to l prefixed
> symbols be resolved to definitions in another file?

And if it does, what happens if there is no definition? A link error
or the symbol resolves to null?

Cheers,
Rafael

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to