[PATCH] D26084: [lsan] [aarch64] Fix printing of pointers in make check tests - update

Strahinja Petrovic via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 28 09:34:00 PDT 2016


spetrovic created this revision.
spetrovic added reviewers: kcc, rengolin, peter.smith, zatrazz.
spetrovic added subscribers: llvm-commits, petarj, ivanbaev.
Herald added subscribers: kubabrecka, 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/D26084

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
  test/lsan/lit.common.cfg
  test/sanitizer_common/print_address.h
  test/tsan/deadlock_detector_stress_test.cc
  test/tsan/global_race.cc
  test/tsan/global_race2.cc
  test/tsan/global_race3.cc
  test/tsan/lit.cfg
  test/tsan/memcmp_race.cc
  test/tsan/memcpy_race.cc
  test/tsan/mop_with_offset.cc
  test/tsan/mop_with_offset2.cc
  test/tsan/race_on_heap.cc
  test/tsan/test.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26084.76207.patch
Type: text/x-patch
Size: 12586 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161028/a17c3cf5/attachment.bin>


More information about the llvm-commits mailing list