[cfe-dev] 'too many sections' when building an object file for llvm/clang
Manish Verma
manish.verma at arm.com
Mon Jun 10 02:34:21 PDT 2013
Hi Samuel,
Thank you for looking at this issue.
> I see a few solutions for this:
> 1. For any non-template matcher, move its code to an ASTMatchers.cpp
> to be created. This would take away a big chunk of the size of
> Registry.cpp. I don't know if this will just move the problem to
> ASTMatchers.cpp instead.
> 2. Split Registry.cpp in smaller compilation units, each with a
> subset of the matchers. It should be easier than (1).
I think it would be better to implement option (2) while you look
for a better solution. We are happy to do the testing at our end,
as none of build-bots are testing this configuration.
Regards,
Manish
More information about the cfe-dev
mailing list