Fix build with llvm-libunwind, and also fix for non-llvm libunwind when using clang+bfd given clang doesn't have _Unwind_Find_FDE in its rtlib and expects it from llvm-libunwind. The _CONFIG_H_ check is for Rip - 1), &bases ); @@ -760,4 +761,5 @@ return dwarf_virtual_unwind( context->Rip, &dispatch->EstablisherFrame, context, fde, &bases, &dispatch->LanguageHandler, &dispatch->HandlerData ); +#endif #ifdef HAVE_LIBUNWIND return libunwind_virtual_unwind( context->Rip, &dispatch->EstablisherFrame, context,