Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/pstl
diff options
context:
space:
mode:
authorRafael Auler <rafaelauler@fb.com>2022-10-29 04:34:48 +0300
committerRafael Auler <rafaelauler@fb.com>2022-11-04 23:20:11 +0300
commit369899449226a00f15422a12aacb62dee312c8d5 (patch)
tree716145911fd898ba11f01def992039a82991fbb2 /pstl
parent687ce3dec132e0a8d37da910d4dd470b72c70298 (diff)
[BOLT] Always move JTs in jump-table=move
We should always move jump tables when requested. Previously, we were not moving jump tables of non-simple functions in relocation mode. That caused a bug detailed in the attached test case: in PIC jump tables, we force jump tables to be moved, but if they are not moved because the function is not simple, we could incorrectly update original entries in .rodata, corrupting it under special circumstances (see testcase). Reviewed By: #bolt, maksfb Differential Revision: https://reviews.llvm.org/D137357
Diffstat (limited to 'pstl')
0 files changed, 0 insertions, 0 deletions