[XRay][compiler-rt] Use __sanitizer::Atexit() instead of atexit()

Follow-up to D40828.

llvm-svn: 319764
This commit is contained in:
Dean Michael Berris 2017-12-05 13:40:01 +00:00
parent bf77c23576
commit 21d0d531e5
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}();
}