Vy Nguyen
6f37d18d8c
[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
2021-03-15 10:58:40 -04:00
Vy Nguyen
ab08c3865b
Revert "Revert "[compiler-rt][asan] Make wild-pointer crash error more useful""
...
This reverts commit c578508b5bb20ccce5e2a43dd2afc41a49afec74.
Reland now that unrelated crash has been resolved.
2021-03-12 11:35:50 -05:00
Vy Nguyen
c578508b5b
Revert "[compiler-rt][asan] Make wild-pointer crash error more useful"
...
This reverts commit f65e1aee4004c25fbeacd5024de1d17f0a7ebc5c.
2021-03-11 22:13:40 -05:00
Vy Nguyen
f65e1aee40
[compiler-rt][asan] Make wild-pointer crash error more useful
...
Right now, when you have an invalid memory address, asan would just crash and does not offer much useful info.
This patch attempted to give a bit more detail on the access.
Differential Revision: https://reviews.llvm.org/D98280
2021-03-11 21:48:39 -05:00