summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/sanitizer_common.h
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2018-11-06 19:23:12 +0000
committerVitaly Buka <vitalybuka@google.com>2018-11-06 19:23:12 +0000
commit6cd9bdd1913f8a09fe8a8b63dba2603420f3e24d (patch)
tree752976782a255c350426cd73f090c50ec2e905d5 /lib/sanitizer_common/sanitizer_common.h
parent879bc1ea5fe45e238bf7c27809196299e96caa25 (diff)
downloadcompiler-rt-6cd9bdd1913f8a09fe8a8b63dba2603420f3e24d.tar.gz
[sanitizer] Add char **GetEnviron() on all other platforms
Subscribers: kubamracek, llvm-commits Differential Revision: https://reviews.llvm.org/D54165 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@346257 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 cf060587e..08360a231 100644
--- a/lib/sanitizer_common/sanitizer_common.h
+++ b/lib/sanitizer_common/sanitizer_common.h
@@ -224,6 +224,7 @@ u32 GetUid();
void ReExec();
void CheckASLR();
char **GetArgv();
+char **GetEnviron();
void PrintCmdline();
bool StackSizeIsUnlimited();
uptr GetStackSizeLimitInBytes();