Fix base_unittests StackCopierSignalTest.CopyStack for new Clang
Newer Clang versions will perform "scalar replacement of aggregates" optimization on the 'sentinels' array, breaking the test. Leak the address of the array with debug::Alias to prevent that. Bug: 1135294 Change-Id: I834b8406c0f91954207177294976250ac9c773f0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2462273Reviewed-by:Nico Weber <thakis@chromium.org> Commit-Queue: Hans Wennborg <hans@chromium.org> Cr-Commit-Position: refs/heads/master@{#816176}
Showing
Please register or sign in to comment