commit | 71ba5899ae5857a6510f0fa05039dccee73bcc6a | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Feb 07 12:44:45 2018 -0800 |
committer | Elliott Hughes <enh@google.com> | Mon Mar 05 17:20:12 2018 -0800 |
tree | 9d34769766ce10c95ecb32bc5ec25949007a0048 | |
parent | 0a8d5f3eb8f4087b307f237943a19ae36b094ced [diff] [blame] |
Rewrite system(3) to use posix_spawn(3). We saw crashes from pthread_exit+debuggerd on LP32 (https://issuetracker.google.com/72291624), and it seems like the equivalent problem should exist with system(3). I fixed posix_spawn(3) as part of that bug, so the easiest fix is probably to reuse that. Bug: http://b/72470344 Test: ran tests Change-Id: I05f838706f2b4a14ac3ee21292833e6c8579b0d4
diff --git a/tests/stack_unwinding_test.cpp b/tests/stack_unwinding_test.cpp index bb58ae4..0ff6f30 100644 --- a/tests/stack_unwinding_test.cpp +++ b/tests/stack_unwinding_test.cpp
@@ -29,7 +29,7 @@ #include <unistd.h> #include <unwind.h> -#include "ScopedSignalHandler.h" +#include "SignalUtils.h" #define noinline __attribute__((__noinline__)) #define __unused __attribute__((__unused__))