[asan] Fixed test failing on windows due to different printf behaviour.
authorVy Nguyen <vyng@google.com>
Sat, 13 Mar 2021 02:00:11 +0000 (21:00 -0500)
committerVy Nguyen <vyng@google.com>
Mon, 15 Mar 2021 14:58:40 +0000 (10:58 -0400)
commit6f37d18d8cb109848b16ab55b631a9bdb4956a7a
tree310fc685564d82f9a30abbd63cc45dfd6939c974
parent0b2aae42e5ea16a746d91a2945bf1e399fe485e3
[asan] Fixed test failing on windows due to different printf behaviour.

%p reported prints upper case hex chars on Windows.
The fix  is to switch to using %#lx

Differential Revision: https://reviews.llvm.org/D98570
compiler-rt/test/asan/TestCases/wild_pointer.cpp