[PATCH] D31603: [ELF] Fail the link early if a map file path is invalid
James Henderson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 3 08:17:56 PDT 2017
jhenderson created this revision.
As with the changes made in https://reviews.llvm.org/rL297645, we do not want a potentially long link to be run, if it will ultimately fail because the map file is not writable. This change reuses the same functionality as the output file path check. See https://reviews.llvm.org/D30449 for further justification and explanations.
https://reviews.llvm.org/D31603
Files:
ELF/Driver.cpp
ELF/Filesystem.cpp
ELF/Filesystem.h
test/ELF/early-exit-for-bad-paths.s
test/ELF/map-file.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31603.93869.patch
Type: text/x-patch
Size: 4452 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170403/26da36fa/attachment.bin>
More information about the llvm-commits
mailing list