summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/sanitizer_common.h
diff options
context:
space:
mode:
authorVlad Tsyrklevich <vlad@tsyrklevich.net>2018-08-14 20:28:58 +0000
committerVlad Tsyrklevich <vlad@tsyrklevich.net>2018-08-14 20:28:58 +0000
commit1ea0048471a5a2f8e55142be0389b6092f70cc2d (patch)
tree6b178fd7c2642632069a30eefa21cbc2a8e82dc5 /lib/sanitizer_common/sanitizer_common.h
parent50edac6c681cc5f47b0b99fb30c5778966e44a95 (diff)
downloadcompiler-rt-1ea0048471a5a2f8e55142be0389b6092f70cc2d.tar.gz
Reland "SafeStack: Delay thread stack clean-up""
This relands commit r339405 (reverted in commit r339408.) The original revert was due to tests failing on a darwin buildbot; however, after looking at the affected code more I realized that the Darwin safestack support has always been broken and disabled it in r339719. This relands the original commit. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@339723 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_common.h')
-rw-r--r--lib/sanitizer_common/sanitizer_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sanitizer_common/sanitizer_common.h b/lib/sanitizer_common/sanitizer_common.h
index 3b999edfb..cf060587e 100644
--- a/lib/sanitizer_common/sanitizer_common.h
+++ b/lib/sanitizer_common/sanitizer_common.h
@@ -73,6 +73,7 @@ uptr GetMaxVirtualAddress();
uptr GetMaxUserVirtualAddress();
// Threads
tid_t GetTid();
+int TgKill(pid_t pid, tid_t tid, int sig);
uptr GetThreadSelf();
void GetThreadStackTopAndBottom(bool at_initialization, uptr *stack_top,
uptr *stack_bottom);