summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenAction.cpp
diff options
context:
space:
mode:
authorAleksandar Beserminji <Aleksandar.Beserminji@mips.com>2018-05-07 14:30:49 +0000
committerAleksandar Beserminji <Aleksandar.Beserminji@mips.com>2018-05-07 14:30:49 +0000
commit20d603bbdf0d2ea609585e61325d7d6d4616548e (patch)
treed038463d1cd872f10f58b30b059534ab18b453ac /clang/lib/CodeGen/CodeGenAction.cpp
parent535f5ae0035c0e9e4d196d4d3447d1f186a1b7fe (diff)
downloadbcm5719-llvm-20d603bbdf0d2ea609585e61325d7d6d4616548e.tar.gz
bcm5719-llvm-20d603bbdf0d2ea609585e61325d7d6d4616548e.zip
[mips] Improve handling of -fno-[pic/PIC] option
In order to disable PIC and to match GCC behaviour, -mno-abicalls option is neccessary. When -fno-[pic/PIC] is used witout -mno-abicalls, warning is reported. An error is reported when -fno-pic or -fno-PIC is used in combination with -mabicalls. In this commit, test case is added. Depends on D44381. Differential Revision: https://reviews.llvm.org/D44684 llvm-svn: 331640
Diffstat (limited to 'clang/lib/CodeGen/CodeGenAction.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud