[all-commits] [llvm/llvm-project] e5062a: [XCOFF][AIX] Put each jump table in an independent...
jasonliudev via All-commits
all-commits at lists.llvm.org
Thu Aug 6 07:32:06 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: e5062a6caf754de30b4ecba5bf670ee250f78554
https://github.com/llvm/llvm-project/commit/e5062a6caf754de30b4ecba5bf670ee250f78554
Author: jasonliu <jasonliu.development at gmail.com>
Date: 2020-08-06 (Thu, 06 Aug 2020)
Changed paths:
M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
M llvm/test/CodeGen/PowerPC/aix-lower-jump-table.ll
Log Message:
-----------
[XCOFF][AIX] Put each jump table in an independent section if -ffunction-sections is specified
If a function is in a unique section, putting all jump tables in
.rodata will prevent functions that have a jump table to get
garbage collect by the linker.
Therefore, we need to put jump table into a unique section as well.
Reviewed By: Xiangling_L
Differential Revision: https://reviews.llvm.org/D84761
More information about the All-commits
mailing list