summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-03-25 20:42:27 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-03-25 20:42:27 +0000
commitf596145ac52f9ef814f380ff258d984a1e65a788 (patch)
tree4f007c102d6a5a5caa40c6864b0de7d7c2d6ddf3 /clang/lib
parent85093df3bd27256fcad259d4ee16b5e4f894b209 (diff)
downloadbcm5719-llvm-f596145ac52f9ef814f380ff258d984a1e65a788.tar.gz
bcm5719-llvm-f596145ac52f9ef814f380ff258d984a1e65a788.zip
Use an option alias to implement -gmlt
Review feedback from Reid Kleckner on r203603. llvm-svn: 204755
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/Driver/Tools.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp
index c90fb81f030..ea60551b00a 100644
--- a/clang/lib/Driver/Tools.cpp
+++ b/clang/lib/Driver/Tools.cpp
@@ -2695,8 +2695,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
// are preserved, all other debug options are substituted with "-g".
Args.ClaimAllArgs(options::OPT_g_Group);
if (Arg *A = Args.getLastArg(options::OPT_g_Group)) {
- if (A->getOption().matches(options::OPT_gline_tables_only) ||
- A->getOption().matches(options::OPT_gmlt)) {
+ if (A->getOption().matches(options::OPT_gline_tables_only)) {
// FIXME: we should support specifying dwarf version with
// -gline-tables-only.
CmdArgs.push_back("-gline-tables-only");
OpenPOWER on IntegriCloud