[PATCH] D39619: Correct atexit(3) support in TSan/NetBSD

Kamil Rytarowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 3 16:28:46 PDT 2017


krytarowski added a comment.

Another reason is that with two more distinct paths we can get more code duplication for no good reason.

For the sake of purity (like removal of casting function pointers) we generate extra new code, new structs (or unions) etc.

I've decided go this path in this revision when I noted that NetBSD casts function pointers in the atexit(3) implementation.


Repository:
  rL LLVM

https://reviews.llvm.org/D39619





More information about the llvm-commits mailing list