void JuliaOJIT::DebugObjectRegistrar::operator()(RTDyldObjHandleT H, const ObjSetT &Objects, const LoadResult &LOS) { #if JL_LLVM_VERSION >= 50000 registerObject(H, Objects->getBinary(), static_cast<const RuntimeDyld::LoadedObjectInfo*>(&LOS)); #else auto oit = Objects.begin(); auto lit = LOS.begin(); for (; oit != Objects.end(); ++oit, ++lit) { const auto &Object = (*oit)->getBinary(); auto &LO = *lit; registerObject(H, Object, LO); } #endif }