diff options
author | 2024-08-23 22:02:20 +0100 | |
---|---|---|
committer | 2024-08-27 18:47:30 +0000 | |
commit | aa5a5d1aafb445932957412766400676193b5814 (patch) | |
tree | a9ec8c38519b5f0ccaf72d853fd641edf9e75ba9 /compiler/optimizing/optimizing_unit_test.h | |
parent | 7de4c946b2bfa91735bf7bd77f89f1f30d4d755c (diff) |
Improve handling of errors between fork and exec.
- Don't exit silently if execv fails (i.e. returns).
- Use an "odd" exit code when ForkAndExec terminates the child
process, which is less likely to be confused with a real exit code
from the executed command. Also log a warning if the special exit
code is detected in the parent.
#codehealth
Test: atest -a art_standalone_dex2oat_cts_tests
before and after https://r.android.com/3235770, and check logcat for
messages.
Bug: 360737799
Change-Id: If2681d4b94e0ae433d23e27ad5800dd5a7eca1df
Diffstat (limited to 'compiler/optimizing/optimizing_unit_test.h')
0 files changed, 0 insertions, 0 deletions