This patch replaces fprintf with print_address function in LSAN tests. This is necessary because of different printing of pointers in fprintf and sanitizer's print function. After this patch is committed, we can enable make check-lsan option on aarch64 architecture.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
This does not look good to me
Why would lsan tests include ../../tsan/test.h ?
At the very least this header should be moved into a common dir
Comment Actions
In tsan/test.h is function print_address, I didn't see any common folder with header files in santizer tests, so I take this function from tsan.h. Do you have proposal for the common place ?
Comment Actions
Ping?
This is a minor problem but I don't like that the change was made and reviewed by non-owners and the problem is not being fixed.
Comment Actions
This patch was already submitted, so no reason to update the review here.
Please create a separate patch.