[all-commits] [llvm/llvm-project] 09391e: [hwasan] Do not instrument accesses to uninteresti...

Florian Mayer via All-commits all-commits at lists.llvm.org
Fri Sep 10 11:28:54 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 09391e7e507f88b0873c34af621fc937c5f341fd
      https://github.com/llvm/llvm-project/commit/09391e7e507f88b0873c34af621fc937c5f341fd
  Author: Florian Mayer <fmayer at google.com>
  Date:   2021-09-10 (Fri, 10 Sep 2021)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
    M llvm/test/Instrumentation/HWAddressSanitizer/memaccess-clobber.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/stack-safety-analysis.ll

  Log Message:
  -----------
  [hwasan] Do not instrument accesses to uninteresting allocas.

This leads to a statistically significant improvement when using -hwasan-instrument-stack=0: https://bit.ly/3AZUIKI.
When enabling stack instrumentation, the data appears gets better but not statistically significantly so. This is consistent
with the very moderate improvements I have seen for stack safety otherwise, so I expect it to improve when the underlying
issue of that is resolved.

Reviewed By: eugenis

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




More information about the All-commits mailing list