[PATCH] D106888: [RISC-V] Implement jump tables for CFI-icall

Wende Tan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat May 7 15:20:05 PDT 2022


twd2 updated this revision to Diff 427901.
twd2 added a comment.
Herald added subscribers: sunshaoce, StephenFan, arichardson.
Herald added a project: All.

Add tests as suggested.
Use `tail xxx at plt` instruction instead of manually `auipc` + `jr`, which eliminates issues when linking dynamically-linked executables.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D106888/new/

https://reviews.llvm.org/D106888

Files:
  clang/lib/Driver/ToolChain.cpp
  clang/test/Driver/fsanitize.c
  llvm/lib/Transforms/IPO/LowerTypeTests.cpp
  llvm/test/Transforms/LowerTypeTests/function-weak.ll
  llvm/test/Transforms/LowerTypeTests/function.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106888.427901.patch
Type: text/x-patch
Size: 8096 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220507/d0b15abe/attachment-0001.bin>


More information about the cfe-commits mailing list