tsan: fix darwin Go support
authorDmitry Vyukov <dvyukov@google.com>
Wed, 27 Apr 2016 14:28:42 +0000 (14:28 +0000)
committerDmitry Vyukov <dvyukov@google.com>
Wed, 27 Apr 2016 14:28:42 +0000 (14:28 +0000)
commit4592eb0534b5736e70701e11cdd4f8205f647598
tree81a52186ab89ffa7f369733e687320ddc1dbb4c9
parentf875acbd7782d1a2caaf84892d52697d946de54f
tsan: fix darwin Go support

os_trace turns out to be a macro that creates static object.
Function-static objects use __cxa_atexit and __dso_handle
which are not present in Go runtime.

llvm-svn: 267720
compiler-rt/lib/sanitizer_common/sanitizer_mac.cc