Use check_c_source_compiles to find libunwind capabilities

Authored by mwolff on Apr 22 2018, 10:23 AM.

Description

Use check_c_source_compiles to find libunwind capabilities

The unw_getcontext and unw_init_local symbols use a platform
specific prefix and are wrapped via macros. Thus CHECK_LIBRARY_EXISTS
will fail if we just look for "unw_getcontext". Fix that by
using CHECK_C_SOURCE_COMPILES instead.

Details

Committed
mwolffApr 22 2018, 10:24 AM
Parents
R45:2bf512817ce9: Print the pid and tid in heaptrack log messages
Branches
Unknown
Tags
Unknown