diff options
| author | Aleksandar Beserminji <Aleksandar.Beserminji@mips.com> | 2018-05-07 14:30:49 +0000 |
|---|---|---|
| committer | Aleksandar Beserminji <Aleksandar.Beserminji@mips.com> | 2018-05-07 14:30:49 +0000 |
| commit | 20d603bbdf0d2ea609585e61325d7d6d4616548e (patch) | |
| tree | d038463d1cd872f10f58b30b059534ab18b453ac /clang/lib/CodeGen/CGExprComplex.cpp | |
| parent | 535f5ae0035c0e9e4d196d4d3447d1f186a1b7fe (diff) | |
| download | bcm5719-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/CGExprComplex.cpp')
0 files changed, 0 insertions, 0 deletions

