[all-commits] [llvm/llvm-project] d81723: [DFSan] Optimize code for writing to shadow. Move ...

Andrew Browne via All-commits all-commits at lists.llvm.org
Thu Sep 30 12:43:01 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d81723c99bda9594be50831efc7e84ea36cbd4e0
      https://github.com/llvm/llvm-project/commit/d81723c99bda9594be50831efc7e84ea36cbd4e0
  Author: Andrew Browne <browneee at google.com>
  Date:   2021-09-30 (Thu, 30 Sep 2021)

  Changed paths:
    M compiler-rt/lib/dfsan/dfsan.cpp

  Log Message:
  -----------
  [DFSan] Optimize code for writing to shadow. Move SetShadow to namespace.

Writing zeros to shadow (including checking for existing zero) is now ~2x
faster on one example.

Reviewed By: morehouse

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




More information about the All-commits mailing list