Lines Matching defs:acleSeSym
1249 // Check symbol attributes of the acleSeSym, sym pair.
1251 static std::string checkCmseSymAttributes(Ctx &ctx, Symbol *acleSeSym,
1266 {std::make_pair(acleSeSym, "special"), std::make_pair(sym, "entry")})
1284 for (Symbol *acleSeSym : ctx.symtab->getSymbols()) {
1285 if (!acleSeSym->getName().starts_with(ACLESESYM_PREFIX))
1297 StringRef name = acleSeSym->getName().substr(std::strlen(ACLESESYM_PREFIX));
1300 Err(ctx) << acleSeSym->file << ": cmse special symbol '"
1301 << acleSeSym->getName()
1307 std::string errMsg = checkCmseSymAttributes(ctx, acleSeSym, sym);
1314 ctx.symtab->cmseSymMap[name] = {acleSeSym, sym};
1325 syms[i] = it->second.acleSeSym;
1344 addSGVeneer(cast<Defined>(entryFunc.acleSeSym),
1363 void ArmCmseSGSection::addSGVeneer(Symbol *acleSeSym, Symbol *sym) {
1364 entries.emplace_back(acleSeSym, sym);
1368 if (acleSeSym->file != sym->file ||
1369 cast<Defined>(*acleSeSym).value != cast<Defined>(*sym).value)
1377 ss = std::make_unique<ArmCmseSGVeneer>(sym, acleSeSym, impSym->value);
1379 ss = std::make_unique<ArmCmseSGVeneer>(sym, acleSeSym);
1393 s->acleSeSym->getVA(ctx) -