[all-commits] [llvm/llvm-project] f85bcc: [AIX] Turn -fdata-sections on by default in Clang
jasonliudev via All-commits
all-commits at lists.llvm.org
Wed Oct 14 08:59:09 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: f85bcc21ddadd07f38e1db7aa286ff985bd0eb10
https://github.com/llvm/llvm-project/commit/f85bcc21ddadd07f38e1db7aa286ff985bd0eb10
Author: jasonliu <jasonliu.development at gmail.com>
Date: 2020-10-14 (Wed, 14 Oct 2020)
Changed paths:
M clang/lib/Driver/ToolChains/Clang.cpp
A clang/test/Driver/aix-data-sections.c
M clang/tools/clang-fuzzer/handle-llvm/handle_llvm.cpp
M lld/Common/TargetOptionsCommandFlags.cpp
M llvm/include/llvm/ADT/Triple.h
M llvm/include/llvm/CodeGen/CommandFlags.h
M llvm/lib/CodeGen/CommandFlags.cpp
M llvm/test/CodeGen/PowerPC/aix-alias.ll
M llvm/test/CodeGen/PowerPC/aix-bytestring.ll
M llvm/test/CodeGen/PowerPC/aix-extern-weak.ll
M llvm/test/CodeGen/PowerPC/aix-extern.ll
M llvm/test/CodeGen/PowerPC/aix-ignore-xcoff-visibility.ll
M llvm/test/CodeGen/PowerPC/aix-overflow-toc.py
M llvm/test/CodeGen/PowerPC/aix-readonly-with-relocation.ll
M llvm/test/CodeGen/PowerPC/aix-reference-func-addr-const.ll
M llvm/test/CodeGen/PowerPC/aix-return55.ll
M llvm/test/CodeGen/PowerPC/aix-weak.ll
M llvm/test/CodeGen/PowerPC/aix-xcoff-data-sections.ll
M llvm/test/CodeGen/PowerPC/aix-xcoff-data.ll
M llvm/test/CodeGen/PowerPC/aix-xcoff-lower-comm.ll
M llvm/test/CodeGen/PowerPC/aix-xcoff-mergeable-const.ll
M llvm/test/CodeGen/PowerPC/aix-xcoff-mergeable-str.ll
M llvm/test/CodeGen/PowerPC/aix-xcoff-reloc.ll
M llvm/test/CodeGen/PowerPC/aix-xcoff-rodata.ll
M llvm/test/CodeGen/PowerPC/aix-xcoff-symbol-rename.ll
M llvm/test/CodeGen/PowerPC/aix-xcoff-used.ll
M llvm/test/CodeGen/PowerPC/aix-xcoff-visibility.ll
M llvm/tools/gold/gold-plugin.cpp
M llvm/tools/llc/llc.cpp
M llvm/tools/lli/lli.cpp
M llvm/tools/llvm-isel-fuzzer/llvm-isel-fuzzer.cpp
M llvm/tools/llvm-lto/llvm-lto.cpp
M llvm/tools/llvm-lto2/llvm-lto2.cpp
M llvm/tools/llvm-opt-fuzzer/llvm-opt-fuzzer.cpp
M llvm/tools/lto/lto.cpp
M llvm/tools/opt/opt.cpp
Log Message:
-----------
[AIX] Turn -fdata-sections on by default in Clang
Summary:
This patch does the following:
1. Make InitTargetOptionsFromCodeGenFlags() accepts Triple as a
parameter, because some options' default value is triple dependant.
2. DataSections is turned on by default on AIX for llc.
3. Test cases change accordingly because of the default behaviour change.
4. Clang Driver passes in -fdata-sections by default on AIX.
Reviewed By: MaskRay, DiggerLin
Differential Revision: https://reviews.llvm.org/D88737
More information about the All-commits
mailing list