[PATCH] D46537: Remove explicit setting of the CFI jumptable section name.

Dmitry Mikulin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 7 11:04:48 PDT 2018


dmikulin created this revision.
dmikulin added reviewers: pcc, tejohnson.
Herald added a reviewer: javed.absar.
Herald added a subscriber: hiraditya.

Remove explicit setting of the CFI jumptable section name, it does not appear to be needed: jump table sections are created with .cfi.jumptable suffix. With this change each jump table is placed in a separate section, which allows the linker to re-order them.


https://reviews.llvm.org/D46537

Files:
  llvm/lib/Transforms/IPO/LowerTypeTests.cpp
  llvm/test/Transforms/LowerTypeTests/function-arm-thumb.ll
  llvm/test/Transforms/LowerTypeTests/function-disjoint.ll
  llvm/test/Transforms/LowerTypeTests/function-ext.ll
  llvm/test/Transforms/LowerTypeTests/function-weak.ll
  llvm/test/Transforms/LowerTypeTests/function.ll
  llvm/test/Transforms/LowerTypeTests/section.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46537.145319.patch
Type: text/x-patch
Size: 5193 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180507/632595a7/attachment.bin>


More information about the llvm-commits mailing list