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
1 file changed
tree: 5992a2b8848a845333c9ac47c85eea706f6c7dd9
  1. libbacktrace/
  2. libunwindstack/
  3. OWNERS
  4. PREUPLOAD.cfg