summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2020-10-13 15:08:20 +0200
committerRaphael Isemann <teemperor@gmail.com>2020-10-13 15:08:46 +0200
commitdfc72439529c49e8bfeab9d604b1aa1cac7d89e8 (patch)
treed26204ec10171ea1e3d8bebcaa7a702432420456 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent480c440f9a3cf3434355f24217cfa430dc1cabda (diff)
[lldb] Don't add no-sandbox entitlement when running tests on simulator
It seems that if codesigning the test executables with the `com.apple.private.security.no-sandbox` entitlement then the simulator refuses to launch them and every test fails with `Process launch failed: process exited with status -1 (no such process.)`. This patch checks if we're trying to run the test suite on the simulator and then avoids signing the executable with `no-sandbox`. Reviewed By: JDevlieghere Differential Revision: https://reviews.llvm.org/D89052
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions