File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
trunk/stdlib/tools/swift-reflection-test Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 40c3c8caa584e6eb1a5aaf0f5b5f2bb020430b54
2
+ refs/heads/master: 1a18b965ed9561bd1bb7a1cd03ec779c0e56359c
3
3
refs/heads/master-next: 203b3026584ecad859eb328b2e12490099409cd5
4
4
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
5
5
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea
Original file line number Diff line number Diff line change @@ -575,11 +575,16 @@ int main(int argc, char *argv[]) {
575
575
printUsageAndExit ();
576
576
577
577
const char * BinaryFilename = argv [1 ];
578
-
578
+
579
+ #if defined(_WIN32 )
580
+ // FIXME(compnerd) weak linking is not permitted on PE/COFF, we should fall
581
+ // back to GetProcAddress to see if the symbol is present.
582
+ #else
579
583
// swift_reflection_classIsSwiftMask is weak linked so we can work
580
584
// with older Remote Mirror dylibs.
581
585
if (& swift_reflection_classIsSwiftMask != NULL )
582
586
swift_reflection_classIsSwiftMask = computeClassIsSwiftMask ();
587
+ #endif
583
588
584
589
uint16_t Version = swift_reflection_getSupportedMetadataVersion ();
585
590
printf ("Metadata version: %u\n" , Version );
You can’t perform that action at this time.
0 commit comments