]> granicus.if.org Git - clang/commit
Enhance the clang -v gcc debug printing to skip obviously bad and duplicate paths.
authorBenjamin Kramer <benny.kra@googlemail.com>
Wed, 14 Aug 2013 18:38:51 +0000 (18:38 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Wed, 14 Aug 2013 18:38:51 +0000 (18:38 +0000)
commitf15b26cf378ac4706a861444fccb177f6116087e
treefb49d37ce65006bd3f21ffebdecef1beed287ebb
parent03f443ad1a74d291a2362ac338beb39b6eec9a38
Enhance the clang -v gcc debug printing to skip obviously bad and duplicate paths.

Otherwise it lists all files (e.g. shared libraries) that happen to be in the
same paths the GCC installations usually reside in.

On a x86_64 Debian 7 system with i386 multilibs.
before: clang -v 2>&1|wc -l
        3059
after:  clang -v 2>&1|wc -l
        10

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188400 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains.cpp
lib/Driver/ToolChains.h