Skip to content

Commit bc2d220

Browse files
committed
---
yaml --- r: 347999 b: refs/heads/master c: 1a18b96 h: refs/heads/master i: 347997: c715efd 347995: 071991b 347991: c0cd063 347983: f468377 347967: 4f2c13d
1 parent c3f493d commit bc2d220

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 40c3c8caa584e6eb1a5aaf0f5b5f2bb020430b54
2+
refs/heads/master: 1a18b965ed9561bd1bb7a1cd03ec779c0e56359c
33
refs/heads/master-next: 203b3026584ecad859eb328b2e12490099409cd5
44
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
55
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea

trunk/stdlib/tools/swift-reflection-test/swift-reflection-test.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,11 +575,16 @@ int main(int argc, char *argv[]) {
575575
printUsageAndExit();
576576

577577
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
579583
// swift_reflection_classIsSwiftMask is weak linked so we can work
580584
// with older Remote Mirror dylibs.
581585
if (&swift_reflection_classIsSwiftMask != NULL)
582586
swift_reflection_classIsSwiftMask = computeClassIsSwiftMask();
587+
#endif
583588

584589
uint16_t Version = swift_reflection_getSupportedMetadataVersion();
585590
printf("Metadata version: %u\n", Version);

0 commit comments

Comments
 (0)