[all-commits] [llvm/llvm-project] 14dde4: With MSVC, file needs to be compiled with /BIGOBJ

amccarth-google via All-commits all-commits at lists.llvm.org
Fri Jul 17 09:43:39 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 14dde438d69c81ab4651157a94d32e5555e804ff
      https://github.com/llvm/llvm-project/commit/14dde438d69c81ab4651157a94d32e5555e804ff
  Author: Adrian McCarthy <amccarth at google.com>
  Date:   2020-07-17 (Fri, 17 Jul 2020)

  Changed paths:
    M clang/lib/ARCMigrate/CMakeLists.txt

  Log Message:
  -----------
  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




More information about the All-commits mailing list