[PATCH] D14431: [tsan] Fix interceptor names in lit tests for OS X

Kuba Brecka via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 6 01:45:46 PST 2015


kubabrecka created this revision.
kubabrecka added reviewers: dvyukov, kcc, samsonov, glider.
kubabrecka added subscribers: llvm-commits, zaks.anna, ismailp, jasonk, jevinskie.

On OS X, the interceptors' function names start with "wrap_", e.g. `wrap_malloc`.  This patch modifies the lit tests that expect to find an intercepted function's name on a stack trace to allow having a prefix.

http://reviews.llvm.org/D14431

Files:
  test/tsan/fd_location.cc
  test/tsan/fd_pipe_race.cc
  test/tsan/free_race.c
  test/tsan/free_race2.c
  test/tsan/inlined_memcpy_race.cc
  test/tsan/inlined_memcpy_race2.cc
  test/tsan/memcmp_race.cc
  test/tsan/memcpy_race.cc
  test/tsan/mutex_destroy_locked.cc
  test/tsan/mutexset1.cc
  test/tsan/mutexset2.cc
  test/tsan/mutexset3.cc
  test/tsan/mutexset4.cc
  test/tsan/mutexset8.cc
  test/tsan/race_on_heap.cc
  test/tsan/race_on_mutex.c
  test/tsan/race_on_read.cc
  test/tsan/race_with_finished_thread.cc
  test/tsan/simple_stack.c
  test/tsan/sleep_sync.cc
  test/tsan/thread_end_with_ignore.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14431.39499.patch
Type: text/x-patch
Size: 11731 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151106/1a3bf75f/attachment.bin>


More information about the llvm-commits mailing list