[PATCH] D14199: [compiler-rt] [tsan] Unify aarch64 mapping

Adhemerval Zanella via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 11 05:48:23 PST 2015


zatrazz updated this revision to Diff 39903.
zatrazz added a comment.

Changes from previous patch:

- Unify all implementations using the Mapping scheme.
- Remove redundant code for go implementation by unify windows and non-windows transformation.
- All accesses to mapping const definition are done through functions now. For architecture with only one mapping this won't change code generation.

For architecture with static mapping I had to still define kHeapMemBeg and kHeapMemEnd because they are used on SizeClassAllocator64 definition. I think a possible cleanup is possible (prob when I adjust tsan for aarch64 48-bit VMA).


http://reviews.llvm.org/D14199

Files:
  lib/tsan/rtl/tsan_platform.h
  lib/tsan/rtl/tsan_platform_linux.cc
  lib/tsan/rtl/tsan_platform_mac.cc
  lib/tsan/rtl/tsan_platform_posix.cc
  lib/tsan/rtl/tsan_platform_windows.cc
  lib/tsan/rtl/tsan_rtl.cc
  lib/tsan/rtl/tsan_rtl.h
  test/tsan/test.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14199.39903.patch
Type: text/x-patch
Size: 32389 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151111/34ab8fda/attachment.bin>


More information about the llvm-commits mailing list