[dfsan] Remove hard-coded shadow width in more tests
authorGeorge Balatsouras <gbalats@google.com>
Wed, 3 Mar 2021 20:30:20 +0000 (12:30 -0800)
committerGeorge Balatsouras <gbalats@google.com>
Wed, 3 Mar 2021 23:05:16 +0000 (15:05 -0800)
commit6b7b53f5b9f556668127ce78d42cb1b952abdaaa
tree4620962fc4dea3debb81aa9cee04b55885a03dfb
parent5bdc5e7efda4100c4d11085c2da8f1fb932ccce4
[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
llvm/test/Instrumentation/DataFlowSanitizer/abilist.ll
llvm/test/Instrumentation/DataFlowSanitizer/args-unreachable-bb.ll
llvm/test/Instrumentation/DataFlowSanitizer/arith.ll
llvm/test/Instrumentation/DataFlowSanitizer/callback.ll
llvm/test/Instrumentation/DataFlowSanitizer/custom_fun_varargs_attributes.ll
llvm/test/Instrumentation/DataFlowSanitizer/debug-nonzero-labels.ll
llvm/test/Instrumentation/DataFlowSanitizer/external_mask.ll
llvm/test/Instrumentation/DataFlowSanitizer/memset.ll
llvm/test/Instrumentation/DataFlowSanitizer/phi.ll
llvm/test/Instrumentation/DataFlowSanitizer/uninstrumented_local_functions.ll