Lines Matching refs:ELF

386   EHSectionType = ELF::SHT_PROGBITS;
387 EHSectionFlags = ELF::SHF_ALLOC;
390 EHSectionType = ELF::SHT_X86_64_UNWIND;
392 EHSectionFlags |= ELF::SHF_WRITE;
396 // ELF
397 BSSSection = Ctx->getELFSection(".bss", ELF::SHT_NOBITS,
398 ELF::SHF_WRITE | ELF::SHF_ALLOC);
400 TextSection = Ctx->getELFSection(".text", ELF::SHT_PROGBITS,
401 ELF::SHF_EXECINSTR | ELF::SHF_ALLOC);
403 DataSection = Ctx->getELFSection(".data", ELF::SHT_PROGBITS,
404 ELF::SHF_WRITE | ELF::SHF_ALLOC);
407 Ctx->getELFSection(".rodata", ELF::SHT_PROGBITS, ELF::SHF_ALLOC);
410 Ctx->getELFSection(".tdata", ELF::SHT_PROGBITS,
411 ELF::SHF_ALLOC | ELF::SHF_TLS | ELF::SHF_WRITE);
414 ".tbss", ELF::SHT_NOBITS, ELF::SHF_ALLOC | ELF::SHF_TLS | ELF::SHF_WRITE);
416 DataRelSection = Ctx->getELFSection(".data.rel", ELF::SHT_PROGBITS,
417 ELF::SHF_ALLOC | ELF::SHF_WRITE);
419 DataRelLocalSection = Ctx->getELFSection(".data.rel.local", ELF::SHT_PROGBITS,
420 ELF::SHF_ALLOC | ELF::SHF_WRITE);
422 DataRelROSection = Ctx->getELFSection(".data.rel.ro", ELF::SHT_PROGBITS,
423 ELF::SHF_ALLOC | ELF::SHF_WRITE);
426 ".data.rel.ro.local", ELF::SHT_PROGBITS, ELF::SHF_ALLOC | ELF::SHF_WRITE);
429 Ctx->getELFSection(".rodata.cst4", ELF::SHT_PROGBITS,
430 ELF::SHF_ALLOC | ELF::SHF_MERGE, 4, "");
433 Ctx->getELFSection(".rodata.cst8", ELF::SHT_PROGBITS,
434 ELF::SHF_ALLOC | ELF::SHF_MERGE, 8, "");
437 Ctx->getELFSection(".rodata.cst16", ELF::SHT_PROGBITS,
438 ELF::SHF_ALLOC | ELF::SHF_MERGE, 16, "");
440 StaticCtorSection = Ctx->getELFSection(".ctors", ELF::SHT_PROGBITS,
441 ELF::SHF_ALLOC | ELF::SHF_WRITE);
443 StaticDtorSection = Ctx->getELFSection(".dtors", ELF::SHT_PROGBITS,
444 ELF::SHF_ALLOC | ELF::SHF_WRITE);
448 // FIXME: We're emitting LSDA info into a readonly section on ELF, even though
452 LSDASection = Ctx->getELFSection(".gcc_except_table", ELF::SHT_PROGBITS,
453 ELF::SHF_ALLOC);
458 DwarfAbbrevSection = Ctx->getELFSection(".debug_abbrev", ELF::SHT_PROGBITS, 0,
461 Ctx->getELFSection(".debug_info", ELF::SHT_PROGBITS, 0, "section_info");
462 DwarfLineSection = Ctx->getELFSection(".debug_line", ELF::SHT_PROGBITS, 0);
463 DwarfFrameSection = Ctx->getELFSection(".debug_frame", ELF::SHT_PROGBITS, 0);
465 Ctx->getELFSection(".debug_pubnames", ELF::SHT_PROGBITS, 0);
467 Ctx->getELFSection(".debug_pubtypes", ELF::SHT_PROGBITS, 0);
469 Ctx->getELFSection(".debug_gnu_pubnames", ELF::SHT_PROGBITS, 0);
471 Ctx->getELFSection(".debug_gnu_pubtypes", ELF::SHT_PROGBITS, 0);
473 Ctx->getELFSection(".debug_str", ELF::SHT_PROGBITS,
474 ELF::SHF_MERGE | ELF::SHF_STRINGS, 1, "");
475 DwarfLocSection = Ctx->getELFSection(".debug_loc", ELF::SHT_PROGBITS, 0);
477 Ctx->getELFSection(".debug_aranges", ELF::SHT_PROGBITS, 0);
479 Ctx->getELFSection(".debug_ranges", ELF::SHT_PROGBITS, 0, "debug_range");
485 Ctx->getELFSection(".apple_names", ELF::SHT_PROGBITS, 0, "names_begin");
487 Ctx->getELFSection(".apple_objc", ELF::SHT_PROGBITS, 0, "objc_begin");
489 ".apple_namespaces", ELF::SHT_PROGBITS, 0, "namespac_begin");
491 Ctx->getELFSection(".apple_types", ELF::SHT_PROGBITS, 0, "types_begin");
495 Ctx->getELFSection(".debug_info.dwo", ELF::SHT_PROGBITS, 0);
497 Ctx->getELFSection(".debug_types.dwo", ELF::SHT_PROGBITS, 0);
499 Ctx->getELFSection(".debug_abbrev.dwo", ELF::SHT_PROGBITS, 0);
501 Ctx->getELFSection(".debug_str.dwo", ELF::SHT_PROGBITS,
502 ELF::SHF_MERGE | ELF::SHF_STRINGS, 1, "");
504 Ctx->getELFSection(".debug_line.dwo", ELF::SHT_PROGBITS, 0);
506 Ctx->getELFSection(".debug_loc.dwo", ELF::SHT_PROGBITS, 0, "skel_loc");
508 Ctx->getELFSection(".debug_str_offsets.dwo", ELF::SHT_PROGBITS, 0);
510 Ctx->getELFSection(".debug_addr", ELF::SHT_PROGBITS, 0, "addr_sec");
513 Ctx->getELFSection(".llvm_stackmaps", ELF::SHT_PROGBITS, ELF::SHF_ALLOC);
771 return Ctx->getELFSection(".debug_types", ELF::SHT_PROGBITS, ELF::SHF_GROUP,