[all-commits] [llvm/llvm-project] c9075a: [dfsan] Record dfsan metadata in globals

George Balatsouras via All-commits all-commits at lists.llvm.org
Fri Feb 26 14:43:52 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c9075a1c8e22663c5f4140294ee8b561feff7e14
      https://github.com/llvm/llvm-project/commit/c9075a1c8e22663c5f4140294ee8b561feff7e14
  Author: George Balatsouras <gbalats at google.com>
  Date:   2021-02-26 (Fri, 26 Feb 2021)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
    M llvm/test/Instrumentation/DataFlowSanitizer/basic.ll

  Log Message:
  -----------
  [dfsan] Record dfsan metadata in globals

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.

Reviewed by: stephan.yichao.zhao, morehouse

Differential Revision: https://reviews.llvm.org/D97409




More information about the All-commits mailing list