[PATCH] D25270: [lsan] [aarch64] Fix printing of pointers in make check tests
Strahinja Petrovic via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 5 04:35:50 PDT 2016
spetrovic created this revision.
spetrovic added reviewers: rengolin, peter.smith, zatrazz.
spetrovic added subscribers: llvm-commits, petarj, ivanbaev.
Herald added a subscriber: aemerson.
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.
https://reviews.llvm.org/D25270
Files:
test/lsan/TestCases/cleanup_in_tsd_destructor.c
test/lsan/TestCases/large_allocation_leak.cc
test/lsan/TestCases/pointer_to_self.cc
test/lsan/TestCases/stale_stack_leak.cc
test/lsan/TestCases/use_after_return.cc
test/lsan/TestCases/use_globals_initialized.cc
test/lsan/TestCases/use_globals_uninitialized.cc
test/lsan/TestCases/use_poisoned_asan.cc
test/lsan/TestCases/use_registers.cc
test/lsan/TestCases/use_stacks.cc
test/lsan/TestCases/use_stacks_threaded.cc
test/lsan/TestCases/use_tls_dynamic.cc
test/lsan/TestCases/use_tls_pthread_specific_dynamic.cc
test/lsan/TestCases/use_tls_pthread_specific_static.cc
test/lsan/TestCases/use_tls_static.cc
test/lsan/TestCases/use_unaligned.cc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25270.73620.patch
Type: text/x-patch
Size: 13033 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161005/5c501c38/attachment.bin>
More information about the llvm-commits
mailing list