Lines Matching refs:Section
277 static void mapping(IO &IO, ExportSection &Section) {
282 IO.mapRequired("archs", Section.Architectures);
284 IO.mapOptional("allowed-clients", Section.AllowableClients);
286 IO.mapOptional("allowable-clients", Section.AllowableClients);
287 IO.mapOptional("re-exports", Section.ReexportedLibraries);
288 IO.mapOptional("symbols", Section.Symbols);
289 IO.mapOptional("objc-classes", Section.Classes);
291 IO.mapOptional("objc-eh-types", Section.ClassEHs);
292 IO.mapOptional("objc-ivars", Section.IVars);
293 IO.mapOptional("weak-def-symbols", Section.WeakDefSymbols);
294 IO.mapOptional("thread-local-symbols", Section.TLVSymbols);
299 static void mapping(IO &IO, UndefinedSection &Section) {
304 IO.mapRequired("archs", Section.Architectures);
305 IO.mapOptional("symbols", Section.Symbols);
306 IO.mapOptional("objc-classes", Section.Classes);
308 IO.mapOptional("objc-eh-types", Section.ClassEHs);
309 IO.mapOptional("objc-ivars", Section.IVars);
310 IO.mapOptional("weak-ref-symbols", Section.WeakRefSymbols);
315 static void mapping(IO &IO, SymbolSection &Section) {
316 IO.mapRequired("targets", Section.Targets);
317 IO.mapOptional("symbols", Section.Symbols);
318 IO.mapOptional("objc-classes", Section.Classes);
319 IO.mapOptional("objc-eh-types", Section.ClassEHs);
320 IO.mapOptional("objc-ivars", Section.Ivars);
321 IO.mapOptional("weak-symbols", Section.WeakSymbols);
322 IO.mapOptional("thread-local-symbols", Section.TlvSymbols);
327 static void mapping(IO &IO, UmbrellaSection &Section) {
328 IO.mapRequired("targets", Section.Targets);
329 IO.mapRequired("umbrella", Section.Umbrella);
342 static void mapping(IO &IO, MetadataSection &Section,
344 IO.mapRequired("targets", Section.Targets);
347 IO.mapRequired("clients", Section.Values);
350 IO.mapRequired("libraries", Section.Values);
437 ExportSection Section;
438 Section.Architectures = Architectures;
442 Section.AllowableClients.emplace_back(Library.getInstallName());
446 Section.ReexportedLibraries.emplace_back(Library.getInstallName());
456 Section.WeakDefSymbols.emplace_back(Symbol->getName());
458 Section.TLVSymbols.emplace_back(Symbol->getName());
460 Section.Symbols.emplace_back(Symbol->getName());
464 Section.Classes.emplace_back(
467 Section.Classes.emplace_back(Symbol->getName());
471 Section.Symbols.emplace_back(
474 Section.ClassEHs.emplace_back(Symbol->getName());
478 Section.IVars.emplace_back(
481 Section.IVars.emplace_back(Symbol->getName());
485 llvm::sort(Section.Symbols);
486 llvm::sort(Section.Classes);
487 llvm::sort(Section.ClassEHs);
488 llvm::sort(Section.IVars);
489 llvm::sort(Section.WeakDefSymbols);
490 llvm::sort(Section.TLVSymbols);
491 Exports.emplace_back(std::move(Section));
504 UndefinedSection Section;
505 Section.Architectures = Architectures;
515 Section.WeakRefSymbols.emplace_back(Symbol->getName());
517 Section.Symbols.emplace_back(Symbol->getName());
521 Section.Classes.emplace_back(
524 Section.Classes.emplace_back(Symbol->getName());
528 Section.Symbols.emplace_back(
531 Section.ClassEHs.emplace_back(Symbol->getName());
535 Section.IVars.emplace_back(
538 Section.IVars.emplace_back(Symbol->getName());
542 llvm::sort(Section.Symbols);
543 llvm::sort(Section.Classes);
544 llvm::sort(Section.ClassEHs);
545 llvm::sort(Section.IVars);
546 llvm::sort(Section.WeakRefSymbols);
547 Undefineds.emplace_back(std::move(Section));
603 for (const auto &Section : Exports) {
605 synthesizeTargets(Section.Architectures, Platforms);
607 for (const auto &Lib : Section.AllowableClients)
611 for (const auto &Lib : Section.ReexportedLibraries)
615 for (const auto &Symbol : Section.Symbols) {
623 for (auto &Symbol : Section.Classes) {
629 for (auto &Symbol : Section.ClassEHs)
632 for (auto &Symbol : Section.IVars) {
639 for (auto &Symbol : Section.WeakDefSymbols)
642 for (auto &Symbol : Section.TLVSymbols)
647 for (const auto &Section : Undefineds) {
649 synthesizeTargets(Section.Architectures, Platforms);
650 for (auto &Symbol : Section.Symbols) {
660 for (auto &Symbol : Section.Classes) {
667 for (auto &Symbol : Section.ClassEHs)
670 for (auto &Symbol : Section.IVars) {
677 for (auto &Symbol : Section.WeakRefSymbols)
959 std::vector<MetadataSection> &Section) {
980 Section.emplace_back(std::move(CurrentSection));