summaryrefslogtreecommitdiff
path: root/compiler/optimizing/instruction_builder.cc
diff options
context:
space:
mode:
author Martin Stjernholm <mast@google.com> 2024-08-23 22:02:20 +0100
committer Martin Stjernholm <mast@google.com> 2024-08-27 18:47:30 +0000
commitaa5a5d1aafb445932957412766400676193b5814 (patch)
treea9ec8c38519b5f0ccaf72d853fd641edf9e75ba9 /compiler/optimizing/instruction_builder.cc
parent7de4c946b2bfa91735bf7bd77f89f1f30d4d755c (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/instruction_builder.cc')
0 files changed, 0 insertions, 0 deletions