Add Constructor For MachOAnalyzerSet

Works around a linkage issue.
This commit is contained in:
Thomas A 2022-04-26 08:48:51 -07:00
parent 4026198db8
commit 8450bb533f
2 changed files with 7 additions and 0 deletions

View File

@ -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();

View File

@ -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; } ;