[PATCH] D148665: Change -fsanitize=function to place two words before the function entry

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 19 17:55:14 PDT 2023


MaskRay updated this revision to Diff 515157.
MaskRay edited the summary of this revision.
MaskRay added a comment.

remove an assert to make this feature available to all targets


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148665

Files:
  clang/lib/CodeGen/CGExpr.cpp
  clang/lib/CodeGen/TargetInfo.cpp
  clang/lib/CodeGen/TargetInfo.h
  clang/test/CodeGen/ubsan-function.cpp
  compiler-rt/test/ubsan/TestCases/TypeCheck/Function/function.cpp
  llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  llvm/test/CodeGen/X86/func-sanitizer.ll
  llvm/test/CodeGen/X86/patchable-function-entry-ibt.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148665.515157.patch
Type: text/x-patch
Size: 10134 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230420/f20d9963/attachment.bin>


More information about the cfe-commits mailing list