[PATCH] D68176: tsan: Remove --sysroot=. from tsan

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 30 11:20:03 PDT 2019


vitalybuka added a comment.

In D68176#1688476 <https://reviews.llvm.org/D68176#1688476>, @dvyukov wrote:

> It should break any attempts to include any system headers like <stdio.h>, <sys/types.h> etc.


What the patch is going to break? Should I find another solution? But it's going to be ugly, with splitting and moving tsan_interceptors.cpp
 files into rtl/tsan*posix* rtl/tsan*mac* as it needs <features.h> to define __sanitizer_sigaction


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D68176





More information about the llvm-commits mailing list