File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments