]> granicus.if.org Git - clang/commit
Add -fplugin=name.so option to the driver
authorJohn Brawn <john.brawn@arm.com>
Wed, 23 Sep 2015 13:55:40 +0000 (13:55 +0000)
committerJohn Brawn <john.brawn@arm.com>
Wed, 23 Sep 2015 13:55:40 +0000 (13:55 +0000)
commit9dcbcab85ccca71ccdfa924b6946a0475d93b636
tree599c3941c266fc87f06aae47bdd4bdf99f9e643d
parent5a6158085205887c4faf76be4f16b84a5e4b50d4
Add -fplugin=name.so option to the driver

This translates to -load name.so in the cc1 command. We can't name the driver
option -load, as that means "link against oad", so instead we follow GCC's lead
and name the option -fplugin.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@248378 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Options.td
lib/Driver/Tools.cpp
test/Driver/fplugin.c [new file with mode: 0644]