Fix source build (CLR_CMAKE_USE_SYSTEM_LIBUNWIND=TRUE) (#39391)
authorMike McLaughlin <mikem@microsoft.com>
Thu, 16 Jul 2020 06:09:04 +0000 (23:09 -0700)
committerGitHub <noreply@github.com>
Thu, 16 Jul 2020 06:09:04 +0000 (23:09 -0700)
commitbf2e135c12cbd34aeba2fa4a31d0e84184041a17
treec90c3eecfabd9c5d273bf20a7c52bfb7ef7078bb
parent0554117cd70e0ab594178a4faa761c119afe1a24
Fix source build (CLR_CMAKE_USE_SYSTEM_LIBUNWIND=TRUE) (#39391)

Fixes issue #https://github.com/dotnet/runtime/issues/2014

Adds back ELF unwind info parsing code that has been around since 3.0 so it is fairly well tested. It is conditional on CLR_CMAKE_USE_SYSTEM_LIBUNWIND, otherwise, PAL_VirtualUnwindOutOfProc uses the new libunwind8 _OOP_find_proc_info function.
src/coreclr/src/pal/src/CMakeLists.txt
src/coreclr/src/pal/src/exception/remote-unwind.cpp