[PATCH] D97409: [dfsan] Record dfsan metadata in globals

George Balatsouras via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 24 12:04:48 PST 2021


gbalats created this revision.
gbalats added reviewers: morehouse, stephan.yichao.zhao.
gbalats added projects: Sanitizers, LLVM.
Herald added a subscriber: hiraditya.
gbalats requested review of this revision.
Herald added a subscriber: llvm-commits.

This will allow identifying exactly how many shadow bytes were used
during compilation, for when fast8 mode is introduced.

Also, it will provide a consistent matching point for instrumentation
tests so that the exact llvm type used (i8 or i16) for the shadow can
be replaced by a pattern substitution. This is handy for tests with
multiple prefixes.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D97409

Files:
  llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
  llvm/test/Instrumentation/DataFlowSanitizer/basic.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97409.326173.patch
Type: text/x-patch
Size: 4612 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210224/6f810476/attachment.bin>


More information about the llvm-commits mailing list