File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -296,15 +296,15 @@ class ReflectionContext
296
296
return {{nullptr , nullptr }, 0 };
297
297
};
298
298
299
- // FIXME: there's no swift5_builtin and swift5_capture section on Linux.
300
299
auto FieldMdSec = findELFSectionByName (" swift5_fieldmd" );
301
300
auto AssocTySec = findELFSectionByName (" swift5_assocty" );
302
301
auto BuiltinTySec = findELFSectionByName (" swift5_builtin" );
303
302
auto CaptureSec = findELFSectionByName (" swift5_capture" );
304
303
auto TypeRefMdSec = findELFSectionByName (" swift5_typeref" );
305
304
auto ReflStrMdSec = findELFSectionByName (" swift5_reflstr" );
306
305
307
- // At-least-once semantics.
306
+ // We succeed if at least one of the sections is present in the
307
+ // ELF executable.
308
308
if (FieldMdSec.first .first == nullptr &&
309
309
AssocTySec.first .first == nullptr &&
310
310
BuiltinTySec.first .first == nullptr &&
You can’t perform that action at this time.
0 commit comments