diff --git a/dyld3/MachOAnalyzerSet.cpp b/dyld3/MachOAnalyzerSet.cpp index 3ca24c7..6ae9e3e 100644 --- a/dyld3/MachOAnalyzerSet.cpp +++ b/dyld3/MachOAnalyzerSet.cpp @@ -49,6 +49,10 @@ static bool hasHigh8(uint64_t addend) return ( (addend >> 48) != 0xFFFF ); } +#ifdef DARLING +MachOAnalyzerSet::MachOAnalyzerSet() {} +#endif + void MachOAnalyzerSet::WrappedMachO::forEachBind(Diagnostics& diag, FixUpHandler fixUpHandler, CachePatchHandler patchHandler) const { const bool is64 = _mh->is64(); diff --git a/dyld3/MachOAnalyzerSet.h b/dyld3/MachOAnalyzerSet.h index 27f4c3d..5611cc5 100644 --- a/dyld3/MachOAnalyzerSet.h +++ b/dyld3/MachOAnalyzerSet.h @@ -107,6 +107,9 @@ namespace dyld3 { struct VIS_HIDDEN MachOAnalyzerSet { public: +#ifdef DARLING + MachOAnalyzerSet(); +#endif struct FixupTarget; struct ExportsTrie { const uint8_t* start; const uint8_t* end; } ;