diff options
author | Adrian McCarthy <amccarth@google.com> | 2020-07-16 15:15:51 -0700 |
---|---|---|
committer | Adrian McCarthy <amccarth@google.com> | 2020-07-17 09:43:06 -0700 |
commit | 14dde438d69c81ab4651157a94d32e5555e804ff (patch) | |
tree | 782fece6cef43714a48cfd0e26f17b24c8c9780f /clang/unittests/Tooling/CompilationDatabaseTest.cpp | |
parent | f8a29b174a965acb942dd3ef5f8ef2c32620777b (diff) | |
download | llvm-14dde438d69c81ab4651157a94d32e5555e804ff.zip llvm-14dde438d69c81ab4651157a94d32e5555e804ff.tar.gz llvm-14dde438d69c81ab4651157a94d32e5555e804ff.tar.bz2 |
With MSVC, file needs to be compiled with /BIGOBJ
MSVC, by default, limits the number of sections generated by a single
translation unit to 2^16. In a debug build, each function or method
can require 4 sections, so it's not uncommon to hit it.
I saw the problem when building tests for LLDB (but, interestingly, not
for LLDB itself).
Differential Revision: https://reviews.llvm.org/D83991
Diffstat (limited to 'clang/unittests/Tooling/CompilationDatabaseTest.cpp')
0 files changed, 0 insertions, 0 deletions