aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/DebugInfo/PDB/GenericError.cpp
diff options
context:
space:
mode:
authorPetr Hosek <phosek@chromium.org>2018-04-09 04:23:04 +0000
committerPetr Hosek <phosek@chromium.org>2018-04-09 04:23:04 +0000
commite10ef3548f7a413fc5ad26e212c792b3aebd77f4 (patch)
tree2c67981bd810ec81e58ef70df24b0a6c91cbf616 /llvm/lib/DebugInfo/PDB/GenericError.cpp
parent20dc6ef7464588762ad698084693030c946d70c7 (diff)
downloadllvm-e10ef3548f7a413fc5ad26e212c792b3aebd77f4.zip
llvm-e10ef3548f7a413fc5ad26e212c792b3aebd77f4.tar.gz
llvm-e10ef3548f7a413fc5ad26e212c792b3aebd77f4.tar.bz2
[CMake] Use custom command and target to install libc++ headers
Using file(COPY FILE...) has several downsides. Since the file command is only executed at configuration time, any changes to headers made after the initial CMake execution are ignored. This can lead to subtle errors since the just built Clang will be using stale libc++ headers. Furthermore, since the headers are copied prior to executing the build system, this may hide missing dependencies on libc++ from other LLVM components. This changes replaces the use of file(COPY FILE...) command with a custom command and target which addresses all aforementioned issues and matches the implementation already used by other LLVM components that also install headers like Clang builtin headers. Differential Revision: https://reviews.llvm.org/D44773 llvm-svn: 329544
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/GenericError.cpp')
0 files changed, 0 insertions, 0 deletions