[PATCH] Fix for LLVM debug build failure on Windows + MSVC2010SP1
klimek at google.com
Thu Aug 28 07:44:14 PDT 2014
On Fri Jun 07 2013 at 7:29:51 PM Aaron Ballman <aaron at aaronballman.com>
> On Fri, Jun 7, 2013 at 1:20 PM, Manish Verma <Manish.Verma at arm.com> wrote:
> > Hi Aaron,
> > I checked that on Linux the size of ASTMatchers/Dynamic/CMakeFiles/
> > is 34M and number of sections generated is 36986.
> > Both, MSVC and mingw-gcc fails to build this file on Windows. I think
> > we should either fix the source in Registry.cpp or add /bigobj option
> > to build (the debug variant of) LLVM on Windows.
> I think we should investigate what "fixing" the file would be.
> Looking at Registry.cpp, it doesn't seem overly reasonable that we add
> 37000 sections to the object file. I have to imagine this has some
> effect on link time as well...
> Nothing obviously jumps out at me as to what is causing those sections
> to be generated. Are we even sure the sections are desired? I'll
> admit that I don't know...
This is basically a parser generator written in template metaprogramming,
so it's definitely expected for this to be somewhat large.
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-commits