fixes for sos on FreeBSD (dotnet/coreclr#18479)
authorTomas Weinfurt <tweinfurt@yahoo.com>
Tue, 19 Jun 2018 20:54:41 +0000 (13:54 -0700)
committerJan Vorlicek <janvorli@microsoft.com>
Tue, 19 Jun 2018 20:54:41 +0000 (22:54 +0200)
commitd77df0a0bd1a622df4dcca5435437cb7d849a3ac
treeea8457bf4bb85f62e0be8382b594aa6c4a17589a
parentdcaeb4d99835fb4929ef65afc8d70b0817229879
fixes for  sos on FreeBSD (dotnet/coreclr#18479)

* fixes for  sos on FreeBSD

* refactore unwind detection to common block for BSD and Linux

* missing newline

* do not do libunwind detection for OSX

Commit migrated from https://github.com/dotnet/coreclr/commit/4c51b2dbbdd9bdf23552a9d26ad08a78ce1523cc
src/coreclr/src/pal/src/CMakeLists.txt
src/coreclr/src/pal/src/include/pal/thread.hpp