summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2017-03-13 17:24:52 +0000
committerRui Ueyama <ruiu@google.com>2017-03-13 17:24:52 +0000
commiteaeca5ed79ef6804f6eddcecdb5b128ae9bbd439 (patch)
tree2c06427e5df51c133c4fd3d711962dc1c84be56a /clang/lib/Frontend/CompilerInvocation.cpp
parent140a8569ce97f1f813f6bb506cb63bd4e7ff91f2 (diff)
downloadbcm5719-llvm-eaeca5ed79ef6804f6eddcecdb5b128ae9bbd439.tar.gz
bcm5719-llvm-eaeca5ed79ef6804f6eddcecdb5b128ae9bbd439.zip
[ELF] Fail the link early if an output path is invalid
Patch from James Henderson. If a user has a long link, e.g. due to a large LTO link, they do not wish to run it and find that it failed because there was a mistake in their command-line, after they waited for some significant amount of time. This change adds some basic checking of the linker output file path, which is run shortly after parsing the command-line and linker script. An error is emitted if LLD cannot write to the specified path. Differential Revision: https://reviews.llvm.org/D30449 llvm-svn: 297645
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud