diff options
author | Daniel Dunbar <daniel@zuster.org> | 2011-03-28 22:49:28 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2011-03-28 22:49:28 +0000 |
commit | 969323239f16589329d091a2b8ef200fcfe7c9e9 (patch) | |
tree | 0be4e8d7cc2b41a74efba3408625336a629f3995 /lib/Driver/Tools.cpp | |
parent | 402adc3bc0ddbbb46cb0b8d29812a9c2f605ec4f (diff) |
Integrated-As: Support -Wa,-L when using the integrated assembler.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128433 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.cpp')
-rw-r--r-- | lib/Driver/Tools.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp index 721117071b..8ac68ed952 100644 --- a/lib/Driver/Tools.cpp +++ b/lib/Driver/Tools.cpp @@ -950,10 +950,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA, if (Value == "-force_cpusubtype_ALL") { // Do nothing, this is the default and we don't support anything else. } else if (Value == "-L") { - // We don't support -L yet, but it isn't important enough to error - // on. No one should really be using it for a semantic change. - D.Diag(clang::diag::warn_drv_unsupported_option_argument) - << A->getOption().getName() << Value; + CmdArgs.push_back("-msave-temp-labels"); } else { D.Diag(clang::diag::err_drv_unsupported_option_argument) << A->getOption().getName() << Value; |