Silence ARM inline asm warning in libunwind (#38971)
authorJan Vorlicek <janvorli@microsoft.com>
Thu, 9 Jul 2020 18:50:14 +0000 (20:50 +0200)
committerGitHub <noreply@github.com>
Thu, 9 Jul 2020 18:50:14 +0000 (11:50 -0700)
commit866e831b151a48cc990f092a2a26087bc32031f9
tree00b3f2bfddbaae34f99cd95bdc874a3e80d59fe6
parentf170594800330819cf2e86b72f5997ced3241d94
Silence ARM inline asm warning in libunwind (#38971)

The libunwind headers define unw_getcontext in the libunwind headers for ARM
as inline assembly with stmia instruction storing SP and PC, which clang
complains about as deprecated. However, it is required for atomic restoration
of the context, so disable that warning.

This change silences that warning.
src/coreclr/src/pal/src/exception/seh-unwind.cpp