[hwasan] Workaround unwinder issues in try-catch test.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Mon, 21 Oct 2019 23:57:12 +0000 (23:57 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Mon, 21 Oct 2019 23:57:12 +0000 (23:57 +0000)
commite17b658fc75337c1de0cdd467f35cfa4a85939b1
tree2fdf20782b78df77c7607d29b6d98604963d61d9
parente25898d93f7649fe825a7f5232b659596069e0f1
[hwasan] Workaround unwinder issues in try-catch test.

Android links the unwinder library to every DSO. The problem is,
unwinder has global state, and hwasan implementation of personality
function wrapper happens to rub it the wrong way.

Switch the test to static libc++ as a temporary workaround.

llvm-svn: 375471
compiler-rt/test/hwasan/TestCases/try-catch.cpp