[all-commits] [llvm/llvm-project] 6b7b53: [dfsan] Remove hard-coded shadow width in more tests

George Balatsouras via All-commits all-commits at lists.llvm.org
Wed Mar 3 15:07:04 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6b7b53f5b9f556668127ce78d42cb1b952abdaaa
      https://github.com/llvm/llvm-project/commit/6b7b53f5b9f556668127ce78d42cb1b952abdaaa
  Author: George Balatsouras <gbalats at google.com>
  Date:   2021-03-03 (Wed, 03 Mar 2021)

  Changed paths:
    M llvm/test/Instrumentation/DataFlowSanitizer/abilist.ll
    M llvm/test/Instrumentation/DataFlowSanitizer/args-unreachable-bb.ll
    M llvm/test/Instrumentation/DataFlowSanitizer/arith.ll
    M llvm/test/Instrumentation/DataFlowSanitizer/callback.ll
    M llvm/test/Instrumentation/DataFlowSanitizer/custom_fun_varargs_attributes.ll
    M llvm/test/Instrumentation/DataFlowSanitizer/debug-nonzero-labels.ll
    M llvm/test/Instrumentation/DataFlowSanitizer/external_mask.ll
    M llvm/test/Instrumentation/DataFlowSanitizer/memset.ll
    M llvm/test/Instrumentation/DataFlowSanitizer/phi.ll
    M llvm/test/Instrumentation/DataFlowSanitizer/uninstrumented_local_functions.ll

  Log Message:
  -----------
  [dfsan] Remove hard-coded shadow width in more tests

As a preparation step for fast8 support, we need to update the tests
to pass in both modes. That requires generalizing the shadow width
and remove any hard coded references that assume it's always 2 bytes.

Reviewed By: stephan.yichao.zhao

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




More information about the All-commits mailing list