[PATCH] D115844: [ubsan] Using metadata instead of prologue data for function sanitizer

Yuanfang Chen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 15 01:10:04 PST 2022


ychen updated this revision to Diff 408752.
ychen added a comment.
Herald added subscribers: jdoerfert, pengfei.

- check code model in driver
- document `func_sanitizer` in Langref
- add a codegen test


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D115844

Files:
  clang/lib/CodeGen/CodeGenFunction.cpp
  clang/lib/CodeGen/CodeGenFunction.h
  clang/lib/CodeGen/CodeGenModule.cpp
  clang/lib/CodeGen/CodeGenModule.h
  clang/lib/Driver/SanitizerArgs.cpp
  clang/test/CodeGen/ubsan-function.cpp
  clang/test/CodeGenCXX/catch-undef-behavior.cpp
  clang/test/CodeGenCXX/ubsan-function-noexcept.cpp
  clang/test/Driver/fsanitize.c
  llvm/docs/LangRef.rst
  llvm/include/llvm/IR/FixedMetadataKinds.def
  llvm/include/llvm/IR/MDBuilder.h
  llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  llvm/lib/IR/MDBuilder.cpp
  llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
  llvm/test/CodeGen/X86/func-sanitizer.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115844.408752.patch
Type: text/x-patch
Size: 20471 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220215/61361134/attachment-0001.bin>


More information about the cfe-commits mailing list