commit | 1df8aa644e7c16096f0fdca687dbb7c6dd79aa6a | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Tue Sep 21 18:40:30 2021 -0700 |
committer | Christopher Ferris <cferris@google.com> | Thu Sep 23 21:25:47 2021 +0000 |
tree | 5992a2b8848a845333c9ac47c85eea706f6c7dd9 | |
parent | 8499e47d17d8d842022c7a426fc84cca653f2b9c [diff] |
Fix flaky unwind tests. On arm, the compiler wasn't emitting unwind instructions for every point in the InnerFunction when g_finish was an atomic. Change this to a volatile so that there are no function calls related to the atomic accesses. Bug: 200206986 Test: Ran unit tests on arm 500 times without failure. Test: Ran unit tests multiple times on arm64, x86, x86_64 to verify Test: no new failures. Change-Id: Ie8166ceaea0b709223d51c6d182e2de03a86c9ec