[compiler-rt] r238338 - Test case for PR 23499.

Diego Novillo dnovillo at google.com
Mon Jun 1 06:36:39 PDT 2015


On Fri, May 29, 2015 at 6:46 PM, Justin Bogner <mail at justinbogner.com> wrote:
> Justin Bogner <mail at justinbogner.com> writes:
>>
>> Looks like it's having trouble linking the `extern int X`:
>>
>>   Undefined symbols for architecture x86_64:
>>     "_X", referenced from:
>>         void bar<void>() in instrprof-dynamic-a-8277d7.o
>>         void bar<char>() in instrprof-dynamic-a-8277d7.o
>>   ld: symbol(s) not found for architecture x86_64
>>   clang-3.7: error: linker command failed with exit code 1 (use -v to see invocation)
>>
>> Could you take a look?
>
> I guess you're not around, so I took a crack at fixing this in r238622.

Thanks! Apologies for the breakage. Not sure I understand why this
broke due to the extern reference. We only build a shared object out
of instrprof-dynamic-a.

Anyway, I'll check your commit for details. Thanks.


Diego.



More information about the llvm-commits mailing list