[PATCH] D44036: OpenBSD UBsan support common functions

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 2 16:03:23 PST 2018


vitalybuka added inline comments.


================
Comment at: lib/sanitizer_common/sanitizer_linux.cc:91
 }
+#include <sys/thr.h>
 extern char **environ;  // provided by crt1
----------------
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?


https://reviews.llvm.org/D44036





More information about the llvm-commits mailing list