Lines Matching refs:type

57     switch(pOutput.type()) {
68 llvm::errs() << "unspported output file type: " << pOutput.type() << ".\n";
108 switch(pOutput.type()) {
119 llvm::errs() << "unspported output file type: " << pOutput.type() << ".\n";
152 && (pOutput.type() != Output::Object)
153 && (pOutput.type() != Output::DynObj));
202 shdr[sectIdx].sh_type = ld_sect->type();
235 shdr[sectIdx].sh_type = ld_sect->type();
275 phdr[index].p_type = (*seg).type();
306 phdr[index].p_type = (*seg).type();
472 if (pSection.type() == SHT_REL)
474 else if (pSection.type() == SHT_RELA)
477 llvm::report_fatal_error("unsupported relocation section type!");
498 if(pOutput.type() == Output::DynObj || pOutput.type() == Output::Exec) {
516 rel->setSymbolAndType(Index, relocation->type());
537 if(pOutput.type() == Output::DynObj || pOutput.type() == Output::Exec) {
555 rel->setSymbolAndType(Index, relocation->type());
563 if (llvm::ELF::SHT_DYNSYM == pSection.type() ||
564 llvm::ELF::SHT_SYMTAB == pSection.type())
566 if (llvm::ELF::SHT_REL == pSection.type())
568 if (llvm::ELF::SHT_RELA == pSection.type())
570 if (llvm::ELF::SHT_HASH == pSection.type())
572 if (llvm::ELF::SHT_DYNAMIC == pSection.type())
580 if (llvm::ELF::SHT_DYNSYM == pSection.type() ||
581 llvm::ELF::SHT_SYMTAB == pSection.type())
583 if (llvm::ELF::SHT_REL == pSection.type())
585 if (llvm::ELF::SHT_RELA == pSection.type())
587 if (llvm::ELF::SHT_HASH == pSection.type())
589 if (llvm::ELF::SHT_DYNAMIC == pSection.type())
598 if (llvm::ELF::SHT_SYMTAB == pSection.type())
600 if (llvm::ELF::SHT_DYNSYM == pSection.type())
602 if (llvm::ELF::SHT_DYNAMIC == pSection.type())
604 if (llvm::ELF::SHT_HASH == pSection.type())
606 if (llvm::ELF::SHT_REL == pSection.type() ||
607 llvm::ELF::SHT_RELA == pSection.type()) {
608 if (pOutput.type() == Output::Object)