File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 22
22
#include " swift/Runtime/Debug.h"
23
23
#include < cstdlib>
24
24
#include < cstring>
25
+ #include < vector>
25
26
26
27
#define WIN32_LEAN_AND_MEAN
27
28
#define NOMINMAX
@@ -198,8 +199,8 @@ void swift::initializeProtocolConformanceLookup() {
198
199
// FIXME: Find a way to have this continue to happen for dlopen-ed images.
199
200
// rdar://problem/19045112
200
201
const InspectArgs ProtocolConformancesArgs = {
202
+ addImageProtocolConformanceBlockCallback,
201
203
ProtocolConformancesSection,
202
- addImageProtocolConformanceBlockCallback
203
204
};
204
205
_swift_dl_iterate_phdr (_addImageCallback, &ProtocolConformancesArgs);
205
206
}
@@ -210,8 +211,8 @@ void swift::initializeTypeMetadataRecordLookup() {
210
211
// FIXME: Find a way to have this continue to happen for dlopen-ed images.
211
212
// rdar://problem/19045112
212
213
const InspectArgs TypeMetadataRecordsArgs = {
214
+ addImageTypeMetadataRecordBlockCallback,
213
215
TypeMetadataRecordsSection,
214
- addImageTypeMetadataRecordBlockCallback
215
216
};
216
217
_swift_dl_iterate_phdr (_addImageCallback, &TypeMetadataRecordsArgs);
217
218
}
Original file line number Diff line number Diff line change 21
21
#include " swift/Runtime/Mutex.h"
22
22
#include " ImageInspection.h"
23
23
#include " Private.h"
24
+ #if !defined(_WIN32)
24
25
#include < dlfcn.h>
26
+ #endif
25
27
26
28
using namespace swift ;
27
29
You can’t perform that action at this time.
0 commit comments