forked from OSchip/llvm-project
Rename tsan_interceptors.cpp into tsan_interceptors_posix.cpp
Summary: It's needed to use __GLIBC_PREREQ from <features.h> tsan didn't let us to include <features.h> by using --sysroot=. to disable system includes on anything that is not named as "tsan*posix*", "tsan*mac*", "tsan*linux*". See compiler-rt/lib/tsan/CMakeLists.txt Reviewers: eugenis, dvyukov, kcc Reviewed By: kcc Subscribers: mgorny, #sanitizers, llvm-commits Tags: #sanitizers, #llvm Differential Revision: https://reviews.llvm.org/D68176 llvm-svn: 373282
This commit is contained in:
parent
9f42a1231e
commit
f74f5f2568
|
@ -32,7 +32,7 @@ set(TSAN_SOURCES
|
|||
rtl/tsan_fd.cpp
|
||||
rtl/tsan_flags.cpp
|
||||
rtl/tsan_ignoreset.cpp
|
||||
rtl/tsan_interceptors.cpp
|
||||
rtl/tsan_interceptors_posix.cpp
|
||||
rtl/tsan_interface.cpp
|
||||
rtl/tsan_interface_ann.cpp
|
||||
rtl/tsan_interface_atomic.cpp
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//===-- tsan_interceptors.cpp ---------------------------------------------===//
|
||||
//===-- tsan_interceptors_posix.cpp ---------------------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
// See https://llvm.org/LICENSE.txt for license information.
|
|
@ -298,7 +298,7 @@ static bool FrameIsInternal(const SymbolizedStack *frame) {
|
|||
const char *file = frame->info.file;
|
||||
const char *module = frame->info.module;
|
||||
if (file != 0 &&
|
||||
(internal_strstr(file, "tsan_interceptors.cpp") ||
|
||||
(internal_strstr(file, "tsan_interceptors_posix.cpp") ||
|
||||
internal_strstr(file, "sanitizer_common_interceptors.inc") ||
|
||||
internal_strstr(file, "tsan_interface_")))
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue