diff options
author | Eugene <Eugene.Zemtsov@microsoft.com> | 2015-08-20 21:11:31 -0700 |
---|---|---|
committer | Eugene Zemtsov <Eugene.Zemtsov@microsoft.com> | 2015-09-15 13:44:42 -0700 |
commit | d0f71d0b22e9012263e4a078d24738c75e384a90 (patch) | |
tree | 0bb4840e2f42e39592bcbe18d0c0c68a4db0f376 /src/pal/src/CMakeLists.txt | |
parent | eb3260e67bc653b56a80fbf0e8a07d78e3a404c1 (diff) | |
download | coreclr-d0f71d0b22e9012263e4a078d24738c75e384a90.tar.gz coreclr-d0f71d0b22e9012263e4a078d24738c75e384a90.tar.bz2 coreclr-d0f71d0b22e9012263e4a078d24738c75e384a90.zip |
Use out-of-proc libunwind to unwind native stack from DAC
Implementation of PAL_VirtualUnwindOutOfProc that uses ptrace libunwind
to be able to unwind native stack in debugee. This allows to get valid managed
stack for threads that passed HelperMethodFrames.
Diffstat (limited to 'src/pal/src/CMakeLists.txt')
-rw-r--r-- | src/pal/src/CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/pal/src/CMakeLists.txt b/src/pal/src/CMakeLists.txt index ce364b3c64..c814e10aac 100644 --- a/src/pal/src/CMakeLists.txt +++ b/src/pal/src/CMakeLists.txt @@ -207,6 +207,13 @@ if(CMAKE_SYSTEM_NAME STREQUAL Linux) if(PAL_CMAKE_PLATFORM_ARCH_ARM) target_link_libraries(coreclrpal gcc_s + unwind-arm + ) + endif() + + if(PAL_CMAKE_PLATFORM_ARCH_AMD64) + target_link_libraries(coreclrpal + unwind-x86_64 ) endif() @@ -215,6 +222,8 @@ if(CMAKE_SYSTEM_NAME STREQUAL Linux) rt dl unwind + unwind-ptrace + unwind-generic ) endif(CMAKE_SYSTEM_NAME STREQUAL Linux) |