detect proper libdwarf types
commitb1e031cb68c3fd4b0cebd2a54ee6de9d19a444c7
authorsvcscm <svcscm@fb.com>
Thu, 10 Jul 2014 22:15:41 +0000 (10 15:15 -0700)
committerfacebook-github-bot <githubbot@fb.com>
Fri, 11 Jul 2014 00:30:19 +0000 (10 17:30 -0700)
treed6578f4073ef5eb37e4eeb4c50ff3de1a081f236
parent2e9576f8a20b837c22f0f1ae58f068f260cf98fd
detect proper libdwarf types

Summary: Current master is broken by libdwarf once again. Other than checking for
a particular init function we should also check if we're allowed to use
a const char* for name separately.

Combined them into a macro for future changes.
Closes #3163
Created from: https://github.com/facebook/hhvm/pull/3163

Reviewed By: @ptarjan

Differential Revision: D1429569
CMake/FindLibDwarf.cmake