[PATCH] D44036: OpenBSD UBsan support common functions

David CARLIER via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 2 16:07:01 PST 2018


devnexen added inline comments.


================
Comment at: lib/sanitizer_common/sanitizer_linux.cc:91
 }
+#include <sys/thr.h>
 extern char **environ;  // provided by crt1
----------------
vitalybuka wrote:
> devnexen wrote:
> > vitalybuka wrote:
> > > why do you need sys/thr.h here?
> > Because of thr_self
> but there is no changes in thr_self calls?
Ah exact I mixed with my other patch ...


https://reviews.llvm.org/D44036





More information about the llvm-commits mailing list