[libunwind] Tweak tests for musl support. (#85097)

We can't use `dladdr()` in the tests, because when we're statically
linking with musl that function is a no-op.

Additionally, because musl disables emission of unwind information in
its build, and because its signal trampolines don't include unwind
information, tests that involve unwinding through a signal handler won't
work and need to be disabled for musl.

rdar://123436891

NOKEYCHECK=True
GitOrigin-RevId: fe1301b5d846e96655ae6981789f677de6c7572d
4 files changed
tree: f83a8897147970e9775a6a231b716d74e466c049
  1. cmake/
  2. docs/
  3. include/
  4. src/
  5. test/
  6. .clang-format
  7. CMakeLists.txt
  8. LICENSE.TXT