diff options
author | Fangrui Song <maskray@google.com> | 2020-01-07 14:21:39 -0800 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2020-01-07 15:09:22 -0800 |
commit | 907a0cadb2c807d86d3150f2397e6697ba4676df (patch) | |
tree | 00c325bbb74bce1553cccfd78ec6a873a1af7e69 /lldb/scripts/Python/python-extensions.swig | |
parent | b6598bcf4b81ed8fb66a7c576a81e422750b9329 (diff) | |
download | llvm-907a0cadb2c807d86d3150f2397e6697ba4676df.zip llvm-907a0cadb2c807d86d3150f2397e6697ba4676df.tar.gz llvm-907a0cadb2c807d86d3150f2397e6697ba4676df.tar.bz2 |
[PowerPC] Default ppc64 linux-gnu/freebsd to -fno-PIC
According to D53384, the default was switched from -fno-PIC to -fPIC to
work around a -fsanitize=leak bug on big-endian.
This gratuitous difference between little-endian and big-endian is
undesired, and not acceptable on powerpc64-unknown-freebsd. If
-fsanitize=leak still has the problem, we should consider defaulting to
-fPIC/-fPIE only when -fsanitize=leak is specified (see SanitizerArgs::requiresPIE())
powerpc64-ibm-aix is unaffected: it still defaults to -fPIC.
powerpc64-linux-musl is unaffected (-fPIE since D39588): it still defaults to -fPIE.
Reviewed By: #powerpc, jhibbits
Differential Revision: https://reviews.llvm.org/D72363
Diffstat (limited to 'lldb/scripts/Python/python-extensions.swig')
0 files changed, 0 insertions, 0 deletions