Lines Matching +defs:buffer +defs:file +defs:name
44 bool needsThunk(RelExpr expr, RelType type, const InputFile *file,
84 // Set the EF_ARM_BE8 flag in the ELF header, if ELF file is big-endian
387 bool ARM::needsThunk(RelExpr expr, RelType type, const InputFile *file,
506 // the type. Use the section name as getName() returns an empty string.
508 << " to STT_SECTION symbol " << cast<Defined>(s).section->name
1067 for (ELFFileBase *file : ctx.objectFiles) {
1068 for (Symbol *sym : file->getLocalSymbols()) {
1082 // Synthetic sections are not backed by an ELF file where we can access the
1092 static_cast<ARM &>(*sec->file->ctx.target).sectionMap[sec].push_back(sym);
1186 // __acle_se_ for a symbol called name the linker is expected to create a secure
1187 // gateway veneer if symbols __acle_se_name and name have the same address.
1188 // After creating a secure gateway veneer the symbol name labels the secure
1256 return (Twine(toStr(ctx, s->file)) + ": cmse " + type + " symbol '" +
1260 return (Twine(toStr(ctx, s->file)) + ": cmse " + type + " symbol '" +
1274 // 1) <sym> : A standard function name.
1276 // name with __acle_se_.
1297 StringRef name = acleSeSym->getName().substr(std::strlen(ACLESESYM_PREFIX));
1298 Symbol *sym = ctx.symtab->find(name);
1300 Err(ctx) << acleSeSym->file << ": cmse special symbol '"
1303 << name << "' with external linkage found";
1314 ctx.symtab->cmseSymMap[name] = {acleSeSym, sym};
1319 parallelForEach(ctx.objectFiles, [&](InputFile *file) {
1320 MutableArrayRef<Symbol *> syms = file->getMutableSymbols();
1368 if (acleSeSym->file != sym->file ||
1433 Defined(ctx, file, StringRef(), s->sym->binding, s->sym->stOther,
1455 std::make_unique<OutputSection>(ctx, strtab->name, 0, 0), strtab.get());
1457 std::make_unique<OutputSection>(ctx, impSymTab->name, 0, 0),
1460 std::make_unique<OutputSection>(ctx, shstrtab->name, 0, 0),
1480 osec->shName = shstrtab->addString(osec->name);
1503 std::unique_ptr<FileOutputBuffer> &buffer = *bufferOrErr;
1504 uint8_t *const buf = buffer->getBufferStart();
1531 // Write section contents to a mmap'ed file.
1538 if (auto e = buffer->commit())
1539 Err(ctx) << "failed to write output '" << buffer->getPath()