[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 13:39:10 PST 2018


delcypher added a comment.

In D55473#1331305 <https://reviews.llvm.org/D55473#1331305>, @delcypher wrote:

> @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.


@devnexen I have a potential fix up for review at https://reviews.llvm.org/D55711


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