Skip to content

Commit 7571787

Browse files
committed
---
yaml --- r: 347435 b: refs/heads/master c: 05943d7 h: refs/heads/master i: 347433: 976df55 347431: 2be9ada
1 parent 32004be commit 7571787

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
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: 4c24e5bf582df8e9dbd2dd45082657da4cd280d4
2+
refs/heads/master: 05943d7e6960b9074bfad7ae2ae62a1db373afcc
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/include/swift/Reflection/ReflectionContext.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ class ReflectionContext
331331

332332
// FIXME: This code needs to be cleaned up and updated
333333
// to make it work for 32 bit platforms.
334-
if (SectionName != ".sw5cptr") {
334+
if (SectionName != ".sw5cptr" && SectionName != ".sw5bltn") {
335335
Begin += 8;
336336
End -= 8;
337337
}
@@ -349,9 +349,8 @@ class ReflectionContext
349349
findCOFFSectionByName(".sw5flmd");
350350
std::pair<std::pair<const char *, const char *>, uint32_t> AssocTySec =
351351
findCOFFSectionByName(".sw5asty");
352-
// FIXME: Use the section .sw5bltn instead.
353352
std::pair<std::pair<const char *, const char *>, uint32_t> BuiltinTySec =
354-
{{nullptr, nullptr}, 0};
353+
findCOFFSectionByName(".sw5bltn");
355354
std::pair<std::pair<const char *, const char *>, uint32_t> ReflStrMdSec =
356355
findCOFFSectionByName(".sw5rfst");
357356

0 commit comments

Comments
 (0)