[compiler-rt] e7015c9 - [compiler-rt] Fix usage of `stdin`/`stdout` (#171560)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 9 20:11:39 PST 2025
Author: Arthur Eubanks
Date: 2025-12-10T04:11:34Z
New Revision: e7015c9afb54d89f1a9df8d3f6bcbea322eac0a2
URL: https://github.com/llvm/llvm-project/commit/e7015c9afb54d89f1a9df8d3f6bcbea322eac0a2
DIFF: https://github.com/llvm/llvm-project/commit/e7015c9afb54d89f1a9df8d3f6bcbea322eac0a2.diff
LOG: [compiler-rt] Fix usage of `stdin`/`stdout` (#171560)
>From #170809.
Causes compile errors when `stdin`/`stdout` are #defined in stdio.h.
Added:
Modified:
compiler-rt/lib/sanitizer_common/sanitizer_posix.h
Removed:
################################################################################
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_posix.h b/compiler-rt/lib/sanitizer_common/sanitizer_posix.h
index 063408b8360c1..dc9c3b8822d30 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_posix.h
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_posix.h
@@ -68,7 +68,7 @@ uptr internal_waitpid(int pid, int *status, int options);
int internal_fork();
bool internal_spawn(const char* argv[], const char* envp[], pid_t* pid,
- fd_t stdin, fd_t stdout);
+ fd_t fd_stdin, fd_t fd_stdout);
int internal_sysctl(const int *name, unsigned int namelen, void *oldp,
uptr *oldlenp, const void *newp, uptr newlen);
More information about the llvm-commits
mailing list