diff options
author | Thurston Dang <thurston@google.com> | 2025-08-05 16:31:35 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-05 16:31:35 -0700 |
commit | 435b8b51dc7e236d3940efe4b94104338dbac0e8 (patch) | |
tree | 13561b377ceead1400d36b606e3712b574fc9d96 /clang/unittests/Basic | |
parent | b8eb61adc92bb384bc63f01b7ccddd931409b223 (diff) | |
download | llvm-435b8b51dc7e236d3940efe4b94104338dbac0e8.zip llvm-435b8b51dc7e236d3940efe4b94104338dbac0e8.tar.gz llvm-435b8b51dc7e236d3940efe4b94104338dbac0e8.tar.bz2 |
[sanitizer] Don't TestPTrace() if SPARC; don't give up if internal_fork() fails (#152072)
Fixes corner cases of https://github.com/llvm/llvm-project/pull/151406:
- Don't run TestPTrace() on SPARC, because internal_fork() on SPARC
actually calls __fork(). We can't safely __fork(), because it's possible
seccomp has been configured to disallow fork() but allow clone().
- if internal_fork() fails for whatever reason, we shouldn't give up. It
is strictly worse to give up early than to attempt StopTheWorld.
Also updates some comments/TODOs.
Diffstat (limited to 'clang/unittests/Basic')
0 files changed, 0 insertions, 0 deletions