summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/sanitizer_libc.h
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2014-05-13 16:17:54 +0000
committerAlexander Potapenko <glider@google.com>2014-05-13 16:17:54 +0000
commit8563d6ef39045d86b2791a7fae75fe803eff66b4 (patch)
tree451858f9902a212745e1f7e5a8b3f224ebce0baf /lib/sanitizer_common/sanitizer_libc.h
parentb58e7f412543c2641e2bc8d087fe6836f426cb92 (diff)
[libsanitizer] Use internal_fork() to spawn the symbolizer process.
This should fix https://code.google.com/p/thread-sanitizer/issues/detail?id=61 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@208707 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_libc.h')
-rw-r--r--lib/sanitizer_common/sanitizer_libc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sanitizer_common/sanitizer_libc.h b/lib/sanitizer_common/sanitizer_libc.h
index 0768ae16e..a9d308e38 100644
--- a/lib/sanitizer_common/sanitizer_libc.h
+++ b/lib/sanitizer_common/sanitizer_libc.h
@@ -91,6 +91,8 @@ uptr internal_waitpid(int pid, int *status, int options);
uptr internal_getpid();
uptr internal_getppid();
+uptr internal_fork();
+
// Threading
uptr internal_sched_yield();