[NFC][compiler-rt][test] when using ptrauth, strip before checking if poisoned
authorEmily Shi <code@emi.sh>
Sat, 17 Jul 2021 00:03:47 +0000 (17:03 -0700)
committerEmily Shi <code@emi.sh>
Sat, 17 Jul 2021 00:13:19 +0000 (17:13 -0700)
commitb316c30269c35559dd99b1902a97f873c44ac413
tree64f7c78ac40ab1c806a65b542bc50007655bf655
parentb0aa70761b8324d0c9ebc57da58a44c9e266ce0e
[NFC][compiler-rt][test] when using ptrauth, strip before checking if poisoned

ptrauth stores info in the address of functions, so it's not the right address we should check if poisoned

rdar://75246928

Differential Revision: https://reviews.llvm.org/D106199
compiler-rt/test/asan/TestCases/Darwin/linked-only.cpp