[clang][asan] Add test for ensuring PR52382 is fixed
authorLeonard Chan <leonardchan@google.com>
Fri, 5 Nov 2021 21:08:09 +0000 (14:08 -0700)
committerLeonard Chan <leonardchan@google.com>
Fri, 5 Nov 2021 21:10:34 +0000 (14:10 -0700)
commit456a7e52310d632be4e41a4b7c4853e910648621
tree1ba408a79b17c0fddda270a8859d8d613aa04b26
parenta5cd27880a258df7df32ec1553d9e4ca7e1868a0
[clang][asan] Add test for ensuring PR52382 is fixed

The fix for PR52382 was already introduced in D112732 which ensures that module
instrumentation always runs after function instrumentation. This adds a test
that ensures the PR is addressed and prevent regression.

Differential Revision: https://reviews.llvm.org/D113143
clang/test/CodeGen/pr52382.c [new file with mode: 0644]