]> granicus.if.org Git - clang/commit
[Driver] Use stem() and not filename().
authorDavide Italiano <davide@freebsd.org>
Sat, 11 Feb 2017 23:44:37 +0000 (23:44 +0000)
committerDavide Italiano <davide@freebsd.org>
Sat, 11 Feb 2017 23:44:37 +0000 (23:44 +0000)
commit690056f99a30c9cf907eaedb002d997e377b39a1
tree059388c6a04dd3b25e4142bf9c4e7876e349548a
parentd00028b37851d17f5a87b9505f0704db592588c4
[Driver] Use stem() and not filename().

On Windows the filename might have an extension, namely
`.exe`, so the search will fail. Sorry, I don't have a
good way to test this as it seems to fail only in some
weird configurations. r284430 has the same modification
for Fuchsia.

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