diff options
author | Ehsan Akhgari <ehsan.akhgari@gmail.com> | 2014-09-11 18:16:21 +0000 |
---|---|---|
committer | Ehsan Akhgari <ehsan.akhgari@gmail.com> | 2014-09-11 18:16:21 +0000 |
commit | 81f36b712fbf1a539ee88dc99be49e6101dcd909 (patch) | |
tree | 0aaabe2ac050154a1ea873b581cbeef63e596afd /llvm/lib/Support/LockFileManager.cpp | |
parent | 611505f758946cc7443fb74fc32e98c030e570ce (diff) | |
download | llvm-81f36b712fbf1a539ee88dc99be49e6101dcd909.zip llvm-81f36b712fbf1a539ee88dc99be49e6101dcd909.tar.gz llvm-81f36b712fbf1a539ee88dc99be49e6101dcd909.tar.bz2 |
clang-cl: Add support for the /o option for object files, executables, and preprocessor output
Summary:
cl.exe recognizes /o as a deprecated and undocumented option similar to
/Fe. This patch adds support for this option to clang-cl for /Fe, /Fo
and /Fi. It also ensures that the last option among /o and /F* wins,
if both specified.
This is required at least for building autoconf based software, since
autoconf uses -o to specify the executable output.
This fixes http://llvm.org/PR20894.
Test Plan: The patch includes automated tests.
Reviewers: rnk
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D5308
llvm-svn: 217615
Diffstat (limited to 'llvm/lib/Support/LockFileManager.cpp')
0 files changed, 0 insertions, 0 deletions