[all-commits] [llvm/llvm-project] 18b211: Disable stdin/stdout for environment_check inferio...
Jason Molenda via All-commits
all-commits at lists.llvm.org
Fri Aug 18 16:28:11 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 18b211cb15213f984b2014413b74958243a4805f
https://github.com/llvm/llvm-project/commit/18b211cb15213f984b2014413b74958243a4805f
Author: Jason Molenda <jason at molenda.com>
Date: 2023-08-18 (Fri, 18 Aug 2023)
Changed paths:
M lldb/unittests/tools/lldb-server/tests/LLGSTest.cpp
M lldb/unittests/tools/lldb-server/tests/TestClient.cpp
M lldb/unittests/tools/lldb-server/tests/TestClient.h
Log Message:
-----------
Disable stdin/stdout for environment_check inferior process
To work around an address sanitizer issue on macOS where
environment_check prints a spurious stderr msg when executing,
environment_check(41292,0x113e7a600) malloc: nano zone abandoned due to inability to preallocate reserved vm space.
And TestClient::Continue() which intends to continue to exit
instead sees the stderr output streamed, and doesn't handle that
unexpected output. Easiest to disable stdin/stdout for this
one test case to avoid this corner case issue with this TestClient.cpp
way of expecting a stop reply packet after continuing.
Differential Revision: https://reviews.llvm.org/D158237
More information about the All-commits
mailing list