[SanCov] Properly set ABI parameter attributes
authorArthur Eubanks <aeubanks@google.com>
Thu, 27 May 2021 21:54:45 +0000 (14:54 -0700)
committerArthur Eubanks <aeubanks@google.com>
Thu, 27 May 2021 22:27:21 +0000 (15:27 -0700)
commit2d2a9020785c6e02afebc876aa2778fa64c5cafd
tree2cfcfee92a15bcf3c61501467041d2c2491ba289
parentee544b8d868d5845798c37200a4b2bd9de889a96
[SanCov] Properly set ABI parameter attributes

Arguments need to have the proper ABI parameter attributes set.

Followup to D101806.

Reviewed By: rnk

Differential Revision: https://reviews.llvm.org/D103288
llvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
llvm/test/Instrumentation/SanitizerCoverage/const-cmp-tracing.ll
llvm/test/Instrumentation/SanitizerCoverage/div-tracing.ll