aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorHubert Tong <hubert.reinterpretcast@gmail.com>2020-01-15 10:42:12 -0500
committerHubert Tong <hubert.reinterpretcast@gmail.com>2020-01-15 10:45:50 -0500
commite429f24ed8b16149ad668edd3fb000a3a56c8e40 (patch)
treecc6d493cff244414edc927dd12b66cca4020fe98 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentad7f4c11eb14a41205f4dadd08493aca0bf8f9ec (diff)
downloadllvm-e429f24ed8b16149ad668edd3fb000a3a56c8e40.zip
llvm-e429f24ed8b16149ad668edd3fb000a3a56c8e40.tar.gz
llvm-e429f24ed8b16149ad668edd3fb000a3a56c8e40.tar.bz2
[CMake] Enable -qfuncsect when building with IBM XL
Summary: The IBM XL compiler uses `-qfuncsect` for `-ffunction-sections`. The comment about sanitizers and `-f[no-]function-sections` is corrected also, as it is pertinent to this patch. The sanitizer-related use of `-fno-function-sections` is associated with powerpc64le, a target for which there is an IBM XL compiler, so that use is updated in this patch to apply `-qnofuncsect` in case a build using the XL compiler is viable on that platform. This patch has been verified with the XL compiler on AIX only. Reviewers: daltenty, stevewan Reviewed By: daltenty Subscribers: mgorny, steven.zhang, #sanitizers, llvm-commits Tags: #sanitizers, #llvm Differential Revision: https://reviews.llvm.org/D72335
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions