Introduce a separate preprocessor macro, _LIBUNWIND_USE_DLADDR, for directly controlling a dependency on dladdr(). This will allow us to use libunwind without adding a libdl dependency.

Reviewers: saugustine

Subscribers: christof, chrib, cfe-commits, echristo

Differential Revision: https://reviews.llvm.org/D48733

git-svn-id: https://llvm.org/svn/llvm-project/libunwind/trunk@336014 91177308-0d34-0410-b5e6-96231b3b80d8
1 file changed