There isn't any code in llvm-ar that actually uses targets, but it links them because it calls a few InitializeAll* functions. If we remove those calls, we can remove the dependency on the targets, which makes building llvm-ar a lot faster.
Diff Detail
Diff Detail
Event Timeline
Comment Actions
It needs to be able to parse assembly in order to populate the symbol
table. No tests fail with this? I will add one if so.
Comment Actions
Ugh... I had completely overlooked generating symbol tables for assembly files. The layering oddness here kinda hurts my head and feels a bit off, but I get it.
I'll abandon this revision as my brain being out to lunch.
Thanks,
-Chris