This is an archive of the discontinued LLVM Phabricator instance.

[sanitizer_common] Use posix_spawn when starting a subprocess
Needs ReviewPublic

Authored by nspark on Oct 27 2020, 8:13 AM.

Details

Reviewers
kcc
eugenis
Summary

When available, enables use of posix_spawn when starting a subprocess

Passes local testing (test/check-llvm-instrumentation) on Ubuntu 20.04

Fixes: https://github.com/google/sanitizers/issues/979

See also: https://reviews.llvm.org/D48451

Diff Detail

Event Timeline

nspark created this revision.Oct 27 2020, 8:13 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 27 2020, 8:13 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
nspark requested review of this revision.Oct 27 2020, 8:13 AM
nspark updated this revision to Diff 301017.Oct 27 2020, 8:53 AM

Fix lint errors with clang-format on sanitizer_posix_libcdep.cpp

nspark updated this revision to Diff 301022.EditedOct 27 2020, 8:58 AM

Squashed last two commits, since the earlier patch (pre clang-format) was not appearing in Phabricator.