aboutsummaryrefslogtreecommitdiff
path: root/libc/bionic/malloc_tagged_pointers.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/bionic/malloc_tagged_pointers.h')
-rw-r--r--libc/bionic/malloc_tagged_pointers.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/libc/bionic/malloc_tagged_pointers.h b/libc/bionic/malloc_tagged_pointers.h
index de3cc2ed9..484a0802e 100644
--- a/libc/bionic/malloc_tagged_pointers.h
+++ b/libc/bionic/malloc_tagged_pointers.h
@@ -99,9 +99,10 @@ static inline void* MaybeUntagAndCheckPointer(const volatile void* ptr) {
// check below allows us to turn *off* pointer tagging (by setting PointerCheckMask() and
// FixedPointerTag() to zero) and still allow tagged heap allocations to be freed.
if ((ptr_int & PointerCheckMask()) != FixedPointerTag()) {
- // TODO(b/145604058) - Upstream tagged pointers documentation and provide
- // a link to it in the abort message here.
- async_safe_fatal("Pointer tag for %p was truncated.", ptr);
+ async_safe_fatal(
+ "Pointer tag for %p was truncated, see "
+ "'https://source.android.com/devices/tech/debug/tagged-pointers'.",
+ ptr);
}
return reinterpret_cast<void*>(ptr_int & PointerUntagMask());
}