[PATCH] D55473: [Sanitizer] expand sysctl/getmntinfo/nl_langinfo to Darwin

Dan Liew via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 14 09:00:58 PST 2018


delcypher added a comment.

@devnexen This broke TSan for the iOS simulator on Darwin. See http://lab.llvm.org:8080/green/job/clang-stage1-cmake-RA-expensive/13105/consoleFull

I'm discussing with @kubamracek on how best to handle this. The problem is basically that early on during the init process in the iOS simulator, `sysctlbyname` gets called and we intercept it but this triggers a call to `__cxa_atexit` inside TSan's init process but the library implementing `__cxa_atexit` hasn't been initialized yet.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55473/new/

https://reviews.llvm.org/D55473





More information about the llvm-commits mailing list