summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDean Michael Berris <dberris@google.com>2017-12-05 13:40:01 +0000
committerDean Michael Berris <dberris@google.com>2017-12-05 13:40:01 +0000
commitfb8b6179b308d48cc41430de90763b6616b84542 (patch)
treee435380b1038f864b7bf591674a1dc775c61d060 /lib
parentf44f47d33b128141ce54bdd095275154211661b0 (diff)
[XRay][compiler-rt] Use __sanitizer::Atexit() instead of atexit()
Follow-up to D40828. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@319764 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/xray/xray_inmemory_log.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xray/xray_inmemory_log.cc b/lib/xray/xray_inmemory_log.cc
index b70d6ecd0..a27ffbcbd 100644
--- a/lib/xray/xray_inmemory_log.cc
+++ b/lib/xray/xray_inmemory_log.cc
@@ -459,7 +459,7 @@ bool basicLogDynamicInitializer() XRAY_NEVER_INSTRUMENT {
sizeof(BasicLoggingOptions));
static auto UNUSED Once = [] {
static auto UNUSED &TLD = getThreadLocalData();
- atexit(+[] { TLDDestructor(&TLD); });
+ __sanitizer::Atexit(+[] { TLDDestructor(&TLD); });
return false;
}();
}