Skip to content

Commit 0af67a7

Browse files
committed
Add TODO reminder comment
Change-Id: I52c90c03eddf4d3604aaf76a15c25f0e3f2677a0
1 parent 5d76d2e commit 0af67a7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

compiler-rt/lib/asan/asan_errors.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -754,6 +754,9 @@ void ErrorNonSelfAMDGPU::PrintMallocStack() {
754754
d.Location(), device_address[0],
755755
(int)(device_address[0] - (plo+offset)),
756756
d.Allocation(), ((int*)plo)[7], d.Default());
757+
// TODO: The code object with the malloc call may not be the same
758+
// code object trying the illegal access. A mechanism is needed
759+
// to obtain the former.
757760
PrintStack();
758761
}
759762

0 commit comments

Comments
 (0)