Re: [lldb-dev] LLDB windows build and /bigobj

2016-02-09 Thread Reid Kleckner via lldb-dev
OK, we've had to change that several times now. At this point I think we should just enable bigobj on that specific file. I'll try to prepare a patch. On Tue, Feb 9, 2016 at 9:52 AM, Aidan Dodds wrote: > Hi Reid, > Thanks for taking a look at this. > Here was the full error: > > llvm\tools\clang

Re: [lldb-dev] LLDB windows build and /bigobj

2016-02-09 Thread Aidan Dodds via lldb-dev
Hi Reid, Thanks for taking a look at this. Here was the full error: llvm\tools\clang\lib\ASTMatchers\Dynamic\Registry.cpp : fatal error C1128: number of sections exceeded object file format limit: compile with /bigobj That file seems to have quite a bit of macro magic going on, so I'll try to

Re: [lldb-dev] LLDB windows build and /bigobj

2016-02-09 Thread Reid Kleckner via lldb-dev
Which object file has crossed the limit? When this has happened before, this has usually highlighted over use of templates, which is worth fixing because it speeds up builds on other platforms as well. If MSVC 2015 instead just happens to generate say one extra section per function, then we should

[lldb-dev] LLDB windows build and /bigobj

2016-02-09 Thread Aidan Dodds via lldb-dev
Hi all, I pulled in recent changes to upstream llvm, clang and lldb and it seems to have tipped my windows build over the edge, and its complaining that my object files have exceeded the section limit. This error is raised while building the clang libraries. Has anyone else seen this problem whi