]> granicus.if.org Git - clang/commit
Revert "Revert "Fix LLVMgold plugin name/path for non-Linux.""
authorDan Albert <danalbert@google.com>
Tue, 15 Aug 2017 21:31:17 +0000 (21:31 +0000)
committerDan Albert <danalbert@google.com>
Tue, 15 Aug 2017 21:31:17 +0000 (21:31 +0000)
commit94698da610201c2e57aa160d71b53d8f52a15af3
tree5f9ba6391ae68a19dd1fd1455d691ece8e04ad1c
parent855f79aa6daf4b31d8ed45f523ec29301e22fe28
Revert "Revert "Fix LLVMgold plugin name/path for non-Linux.""

Summary:
Relanding https://reviews.llvm.org/D35739 which was reverted because
it broke the tests on non-Linux. The tests have been fixed to be
platform agnostic, and additional tests have been added to make sure
that the plugin has the correct extension on each platform
(%pluginext doesn't work in CHECK lines).

Reviewers: srhines, pirama

Reviewed By: srhines

Subscribers: emaste, mehdi_amini, eraman, cfe-commits

Differential Revision: https://reviews.llvm.org/D36769

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@310960 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/CommonArgs.cpp
test/Driver/freebsd.c
test/Driver/gold-lto.c
test/Driver/lto-plugin-darwin.c [new file with mode: 0644]
test/Driver/lto-plugin-linux.c [new file with mode: 0644]
test/Driver/lto-plugin-windows.c [new file with mode: 0644]
test/Driver/lto.c
test/Driver/thinlto.c