[hwasan] Fix stack safety test for old PM.
authorFlorian Mayer <fmayer@google.com>
Tue, 27 Jul 2021 09:39:33 +0000 (10:39 +0100)
committerFlorian Mayer <fmayer@google.com>
Tue, 27 Jul 2021 19:50:46 +0000 (20:50 +0100)
commit835ef6f93d5789d3d7d905462e7574a38b30577d
tree2040cdc165e34133b55561907c5d10529b2d7c16
parenta2d4b064644bdf146d0649c6a70e595567f1213f
[hwasan] Fix stack safety test for old PM.

With the old PM, the stub for __hwasan_generate_tag is still generated
in the IR, but never called.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D106858
clang/test/CodeGen/hwasan-stack-safety-analysis.c