diff options
author | Dean Michael Berris <dberris@google.com> | 2016-07-15 15:46:39 +0000 |
---|---|---|
committer | Dean Michael Berris <dberris@google.com> | 2016-07-15 15:46:39 +0000 |
commit | 57ac95b0a6d33e2a52155bfeb92a797e6817d6b0 (patch) | |
tree | c9108321df5de1dffb1ea15f77b152aa29d54b06 /clang/lib/Driver/Tools.cpp | |
parent | bba0bf7d372ee33e5d383f6a15303eacd7f97ce5 (diff) | |
download | llvm-57ac95b0a6d33e2a52155bfeb92a797e6817d6b0.zip llvm-57ac95b0a6d33e2a52155bfeb92a797e6817d6b0.tar.gz llvm-57ac95b0a6d33e2a52155bfeb92a797e6817d6b0.tar.bz2 |
XRay: Remove duplicate checks for xray instrumentation flags
llvm-svn: 275570
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
-rw-r--r-- | clang/lib/Driver/Tools.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp index f1a9f41..63284bc 100644 --- a/clang/lib/Driver/Tools.cpp +++ b/clang/lib/Driver/Tools.cpp @@ -4612,16 +4612,6 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA, if (Args.hasFlag(options::OPT_fxray_instrument, options::OPT_fnoxray_instrument, false)) { CmdArgs.push_back("-fxray-instrument"); - if (Arg *A = Args.getLastArg(options::OPT_fxray_instruction_threshold_, - options::OPT_fxray_instruction_threshold_EQ)) { - CmdArgs.push_back("-fxray-instruction-threshold"); - CmdArgs.push_back(A->getValue()); - } - } - - if (Args.hasFlag(options::OPT_fxray_instrument, - options::OPT_fnoxray_instrument, false)) { - CmdArgs.push_back("-fxray-instrument"); if (const Arg *A = Args.getLastArg(options::OPT_fxray_instruction_threshold_, options::OPT_fxray_instruction_threshold_EQ)) { |