[PATCH] D73557: [GWP-ASan] Crash Handler API.
Evgenii Stepanov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 29 17:09:14 PST 2020
eugenis added inline comments.
================
Comment at: compiler-rt/lib/gwp_asan/tests/crash_handler_api.cpp:216
+
+ uintptr_t IntPtr = reinterpret_cast<uintptr_t>(Ptr);
+
----------------
hctim wrote:
> eugenis wrote:
> > why not IntPtr = &Intptr ?
> >
> Sorry, I don't follow...
It looks like the loop above finds any address that GWP-ASan would not recognize in pointerIsMine.
&IntPtr is such an address.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73557/new/
https://reviews.llvm.org/D73557
More information about the llvm-commits
mailing list