forked from OSchip/llvm-project
parent
c40c00767c
commit
5e5e36712b
|
@ -12,6 +12,8 @@
|
|||
// Linux-specific code.
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifdef __linux__
|
||||
|
||||
#include "sanitizer_common/sanitizer_common.h"
|
||||
#include "sanitizer_common/sanitizer_libc.h"
|
||||
#include "sanitizer_common/sanitizer_procmaps.h"
|
||||
|
@ -232,3 +234,5 @@ void GetThreadStackAndTls(bool main, uptr *stk_addr, uptr *stk_size,
|
|||
|
||||
|
||||
} // namespace __tsan
|
||||
|
||||
#endif // #ifdef __linux__
|
||||
|
|
|
@ -12,6 +12,8 @@
|
|||
// Linux-specific code.
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifdef __APPLE__
|
||||
|
||||
#include "sanitizer_common/sanitizer_common.h"
|
||||
#include "sanitizer_common/sanitizer_libc.h"
|
||||
#include "sanitizer_common/sanitizer_procmaps.h"
|
||||
|
@ -106,3 +108,5 @@ void GetThreadStackAndTls(bool main, uptr *stk_addr, uptr *stk_size,
|
|||
}
|
||||
|
||||
} // namespace __tsan
|
||||
|
||||
#endif // #ifdef __APPLE__
|
||||
|
|
Loading…
Reference in New Issue