[PATCH] D46326: ThinLTO+CFI: short-circuit direct calls to jump table entries

Dmitry Mikulin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 24 02:22:51 PDT 2018


dmikulin updated this revision to Diff 148358.
dmikulin added a comment.

Changed the code not to short circuit functions that can be overridden at run time and not to expose <func>.cfi names to the runtime.
Added a test point to check for that.

Would it be possible to run this patch through Chromium build/test before I commit?


https://reviews.llvm.org/D46326

Files:
  llvm/include/llvm/IR/Value.h
  llvm/lib/IR/Value.cpp
  llvm/lib/Transforms/IPO/LowerTypeTests.cpp
  llvm/test/Transforms/LowerTypeTests/Inputs/cfi-direct-call.yaml
  llvm/test/Transforms/LowerTypeTests/Inputs/cfi-direct-call1.yaml
  llvm/test/Transforms/LowerTypeTests/blockaddress.ll
  llvm/test/Transforms/LowerTypeTests/cfi-direct-call.ll
  llvm/test/Transforms/LowerTypeTests/cfi-direct-call1.ll
  llvm/test/Transforms/LowerTypeTests/export-icall.ll
  llvm/test/Transforms/LowerTypeTests/function-disjoint.ll
  llvm/test/Transforms/LowerTypeTests/function-weak.ll
  llvm/test/Transforms/LowerTypeTests/function.ll
  llvm/test/Transforms/LowerTypeTests/import-icall.ll
  llvm/test/Transforms/LowerTypeTests/section.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46326.148358.patch
Type: text/x-patch
Size: 20432 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180524/20645a0d/attachment.bin>


More information about the llvm-commits mailing list