aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-10-14 12:56:52 +0000
committerEric Fiselier <eric@efcs.ca>2016-10-14 12:56:52 +0000
commit194e027f4cd5b10263fee2e9e9b047faebfb1258 (patch)
tree8d36a795a1774995a717b4ec370aaf3b36e54ee6 /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
parentbef6aa6ea99b19cbc570a712a4f243398ad7d014 (diff)
downloadllvm-194e027f4cd5b10263fee2e9e9b047faebfb1258.zip
llvm-194e027f4cd5b10263fee2e9e9b047faebfb1258.tar.gz
llvm-194e027f4cd5b10263fee2e9e9b047faebfb1258.tar.bz2
Disable Modules when building the libc++ sources.
Libc++ will not build with modules enabled. In order to support an in-tree libc++ when LLVM_ENABLE_MODULES is ON we need to explicitly disable the feature. Unfortunately the libc++ sources are fundamentally non-modular. For example iostream.cpp defines cout, cerr, wout, ... as char buffers instead of streams in order to better control initialization/destruction. Not shockingly Clang diagnoses this. Many other sources files define _LIBCPP_BUILDING_FOO macros to provide definitions for normally inline symbols (See bind.cpp). Finally The current module.map prohibits using <strstream> in C++11 so we can't build strstream.cpp. I think I can fix most of these issues but until then just disable modules. llvm-svn: 284230
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions