diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-04-17 06:10:00 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-04-17 06:10:00 +0000 |
commit | fb36d21960a3bd422665a961eac6ca269cd6445b (patch) | |
tree | 95247dc1fe0eacf7ec2d91b51e526714c1b9dcfe /lib/Driver/Tools.cpp | |
parent | 26d2427abe442b557298c295d2a84cdf13c260eb (diff) |
Driver: Add missing claim() for -mllvm options.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101618 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.cpp')
-rw-r--r-- | lib/Driver/Tools.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp index 4ac340d541..899eb4841a 100644 --- a/lib/Driver/Tools.cpp +++ b/lib/Driver/Tools.cpp @@ -1330,6 +1330,8 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA, Args.AddAllArgValues(CmdArgs, options::OPT_Xclang); for (arg_iterator it = Args.filtered_begin(options::OPT_mllvm), ie = Args.filtered_end(); it != ie; ++it) { + it->claim(); + // We translate this by hand to the -cc1 argument, since nightly test uses // it and developers have been trained to spell it with -mllvm. if (llvm::StringRef(it->getValue(Args, 0)) == "-disable-llvm-optzns") |