[LLVMdev] MAJOR API CHANGE: Pass initialization without static constructors
John Criswell
criswell at illinois.edu
Fri Oct 8 13:55:09 PDT 2010
On 10/8/10 3:44 PM, Owen Anderson wrote:
> [snip]
>
>> Hrm. I see.
>>
>> I still don't like the idea of having every statically-linked tool explicitly initializing every library that gets linked in. Just dumping the library into the Makefile and being done with it was much nicer.
>>
>> If you can find a reasonable way to support that, it would be nice. However, if you can't, it's not that big a deal. As I mentioned before, as long as out-of-tree passes don't have to modify LLVM source files to work properly, I'll live.
> I don't especially like it either, but the abundance of static constructors in LLVM has been a long-standing performance concern. I wouldn't be going this way if I had a better solution.
Okay. Thanks, Owen.
-- John T.
> --Owen
>
More information about the llvm-dev
mailing list