Searched refs:sym (Results 126 - 150 of 334) sorted by relevance

1234567891011>>

/freebsd-13-stable/contrib/llvm-project/lld/COFF/
H A DChunks.cpp318 Defined *sym,
331 if (sym) {
332 name = sym->getName();
374 auto *sym = local
380 Chunk *c = sym ? sym->getChunk() : nullptr;
387 if (!sym ||
388 (!os && !isa<DefinedAbsolute>(sym) && !isa<DefinedSynthetic>(sym))) {
389 maybeReportRelocationToDiscarded(this, sym, re
317 maybeReportRelocationToDiscarded(const SectionChunk *fromChunk, Defined *sym, const coff_relocation &rel) argument
[all...]
H A DLTO.cpp129 Symbol *sym = symBodies[symNum]; local
138 r.Prevailing = !objSym.isUndefined() && sym->getFile() == &f;
139 r.VisibleToRegularObj = sym->isUsedInRegularObj;
141 undefine(sym);
/freebsd-13-stable/usr.sbin/mfiutil/
H A Dmfiutil.h53 #define __MAKE_SET(set, sym) \
54 static void const * const __set_##set##_sym_##sym \
55 __section("set_" #set) __used = &sym
57 #define DATA_SET(set, sym) __MAKE_SET(set, sym)
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbAstBuilder.cpp35 CVSymbol sym = index.ReadSymbolRecord(id); local
36 if (symbolOpensScope(sym.kind())) {
39 id.offset = getScopeParentOffset(sym);
425 CVSymbol sym = syms.readRecord(*iter);
426 lldbassert(sym.kind() == S_PUB32);
428 llvm::cantFail(SymbolDeserializer::deserializeAs<PublicSym32>(sym, p));
533 PdbAstBuilder::GetParentDeclContextForSymbol(const CVSymbol &sym) { argument
534 if (!SymbolHasAddress(sym))
535 return CreateDeclInfoForUndecoratedName(getSymbolName(sym)).first;
536 SegmentOffset addr = GetSegmentAndOffset(sym);
831 CreateVariableDecl(PdbSymUid uid, CVSymbol sym, clang::DeclContext &scope) argument
855 CVSymbol sym = m_index.ReadSymbolRecord(var_id); local
1045 CVSymbol sym = *begin++; local
1270 CVSymbol sym = m_index.ReadSymbolRecord(block_id); local
[all...]
H A DPdbSymUid.h119 llvm::codeview::CVSymbol sym; member in struct:lldb_private::npdb::SymbolAndUid
/freebsd-13-stable/contrib/llvm-project/lld/ELF/
H A DWriter.cpp236 Symbol *sym = symtab->addSymbol(Defined{nullptr, name, STB_GLOBAL, STV_HIDDEN, local
238 return cast<Defined>(sym);
662 Symbol &sym = file->getRelocTargetSym(rel); local
663 if (sym.isLocal())
664 sym.used = true;
693 static bool shouldKeepInSymtab(const Defined &sym) { argument
694 if (sym.isSection())
699 if (config->copyRelocs && sym.used)
707 if (config->emachine == EM_ARM && sym.section &&
708 sym
809 auto *sym = local
2040 Symbol *sym = symtab->addSymbol(Undefined{ local
[all...]
H A DSymbolTable.h46 void wrap(Symbol *sym, Symbol *real, Symbol *wrap);
H A DCallGraphSort.cpp248 for (Symbol *sym : sections[i]->file->getSymbols())
249 if (!sym->isSection()) // Filter out section-type symbols here.
250 if (auto *d = dyn_cast<Defined>(sym))
252 os << sym->getName() << "\n";
/freebsd-13-stable/usr.sbin/kldxref/
H A Def.h34 #define EF_LOOKUP_SYMBOL(ef, name, sym) \
35 (ef)->ef_ops->lookup_symbol((ef)->ef_ef, name, sym)
58 int (*lookup_symbol)(elf_file_t ef, const char* name, Elf_Sym** sym);
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DObjCSelfInitChecker.cpp107 if (SymbolRef sym = val.getAsSymbol())
108 if (const unsigned *attachedFlags = state->get<SelfFlag>(sym))
120 if (SymbolRef sym = val.getAsSymbol()) {
121 state = state->set<SelfFlag>(sym, getSelfFlags(val, state) | flag);
331 if (SymbolRef sym = loc.getAsSymbol())
332 State = State->remove<SelfFlag>(sym);
H A DPthreadLockChecker.cpp169 const SymbolRef *sym) const;
285 ProgramStateRef state, const MemRegion *lockR, const SymbolRef *sym) const {
294 ConditionTruthVal retZero = CMgr.isNull(state, *sym);
303 // Removing the map entry (lockR, sym) from DestroyRetVal as the lock state is
395 const SymbolRef *sym = state->get<DestroyRetVal>(lockR); local
396 if (sym)
397 state = resolvePossiblyDestroyedMutex(state, lockR, sym);
478 const SymbolRef *sym = state->get<DestroyRetVal>(lockR); local
479 if (sym)
480 state = resolvePossiblyDestroyedMutex(state, lockR, sym);
552 const SymbolRef *sym = State->get<DestroyRetVal>(LockR); local
561 SymbolRef sym = Call.getReturnValue().getAsSymbol(); local
619 const SymbolRef *sym = State->get<DestroyRetVal>(LockR); local
[all...]
/freebsd-13-stable/lib/libthr/thread/
H A Dthr_private.h60 #define SYM_FB10(sym) __CONCAT(sym, _fb10)
61 #define SYM_FBP10(sym) __CONCAT(sym, _fbp10)
62 #define WEAK_REF(sym, alias) __weak_reference(sym, alias)
63 #define SYM_COMPAT(sym, impl, ver) __sym_compat(sym, impl, ver)
64 #define SYM_DEFAULT(sym, impl, ver) __sym_default(sym, imp
[all...]
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_symbolizer.cpp118 Symbolizer::SymbolizerScope::SymbolizerScope(const Symbolizer *sym) argument
119 : sym_(sym) {
/freebsd-13-stable/cddl/usr.sbin/dtrace/tests/common/printf/
H A DMakefile53 tst.sym.d \
54 tst.sym.d.out \
/freebsd-13-stable/tools/tools/shlib-compat/
H A Dshlib-compat.py648 sym = Symbol(p['symbol'], p['offset'], vername, self)
651 self.versions[vername].append(sym)
671 def lookup(sym):
674 raw = dwarfdump.offsetmap[sym.offset]
677 localnames = self.local_offsetmap[sym.offset]
691 for sym in ver.symbols.values():
692 raw = lookup(sym);
695 (sym.name_ver, self.libfile, sym.offset))
698 print("Parsing symbol %s (%s)" % (sym
[all...]
/freebsd-13-stable/contrib/lua/src/
H A Dloadlib.c95 ** Try to find a function named 'sym' in library 'lib'.
99 static lua_CFunction lsys_sym (lua_State *L, void *lib, const char *sym);
140 static lua_CFunction lsys_sym (lua_State *L, void *lib, const char *sym) { argument
141 lua_CFunction f = cast_func(dlsym(lib, sym));
215 static lua_CFunction lsys_sym (lua_State *L, void *lib, const char *sym) { argument
216 lua_CFunction f = (lua_CFunction)(voidf)GetProcAddress((HMODULE)lib, sym);
250 static lua_CFunction lsys_sym (lua_State *L, void *lib, const char *sym) { argument
251 (void)(lib); (void)(sym); /* not used */
378 ** Look for a C function named 'sym' in a dynamically loaded library
382 ** Then, if 'sym' i
388 lookforfunc(lua_State *L, const char *path, const char *sym) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/lld/ELF/Arch/
H A DARM.cpp36 void writePlt(uint8_t *buf, const Symbol &sym,
250 void ARM::writePlt(uint8_t *buf, const Symbol &sym, argument
263 uint64_t offset = sym.getGotPltVA() - pltEntryAddr - 8;
266 writePltLong(buf, sym.getGotPltVA(), pltEntryAddr);
500 assert(rel.sym); // R_ARM_CALL is always reached via relocate().
505 if (!rel.sym->isFunc() && isBlx != bit0Thumb)
506 stateChangeWarning(loc, rel.type, *rel.sym);
507 if (rel.sym->isFunc() ? bit0Thumb : isBlx) {
550 assert(rel.sym); // R_ARM_THM_CALL is always reached via relocate().
555 if (!rel.sym
[all...]
H A DPPC64.cpp111 Symbol *sym = symtab->find(name); local
112 if (!sym || sym->isDefined())
114 sym->resolve(Defined{/*file=*/nullptr, saver.save(name), STB_GLOBAL,
117 defined.push_back(cast<Defined>(sym));
151 for (Defined *sym : defined) {
152 sym->section = sec;
153 sym->value -= 4 * first;
207 Symbol &sym = tocSec->getFile<ELFT>()->getRelocTargetSym(relas[index]); local
208 return {dyn_cast<Defined>(&sym), getAdden
782 writePlt(uint8_t *buf, const Symbol &sym, uint64_t ) const argument
789 writeIplt(uint8_t *buf, const Symbol &sym, uint64_t ) const argument
[all...]
H A DX86_64.cpp36 void writePlt(uint8_t *buf, const Symbol &sym,
185 file, r.type, r.addend, addrLoc, *r.sym, r.expr);
302 rB = {r.expr, r.type, rB.offset, r.addend, r.sym};
394 void X86_64::writePlt(uint8_t *buf, const Symbol &sym, argument
403 write32le(buf + 2, sym.getGotPltVA() - pltEntryAddr - 6);
404 write32le(buf + 7, sym.pltIndex);
906 void writePlt(uint8_t *buf, const Symbol &sym,
922 void IntelIBT::writePlt(uint8_t *buf, const Symbol &sym, argument
930 write32le(buf + 6, sym.getGotPltVA() - pltEntryAddr - 10);
967 void writePlt(uint8_t *buf, const Symbol &sym,
1013 writePlt(uint8_t *buf, const Symbol &sym, uint64_t pltEntryAddr) const argument
1056 writePlt(uint8_t *buf, const Symbol &sym, uint64_t pltEntryAddr) const argument
[all...]
/freebsd-13-stable/contrib/llvm-project/lld/lib/ReaderWriter/MachO/
H A DMachONormalizedFileToAtoms.cpp230 for (const lld::mach_o::normalized::Symbol &sym : inSymbols) {
232 if ((sym.type & N_TYPE) != N_SECT)
234 if (sym.sect != sectionIndex)
236 outSyms.push_back(&sym);
321 // for (const Symbol *sym : symbols)
322 // llvm::errs() << " sym: "
323 // << llvm::format("0x%08llx ", (uint64_t)sym->value)
324 // << ", " << sym->name << "\n";
345 for (const lld::mach_o::normalized::Symbol *sym : symbols) {
349 if ((lastSym->value != sym
[all...]
/freebsd-13-stable/contrib/llvm-project/lld/include/lld/Core/
H A DSymbolTable.h49 const Atom *findByName(StringRef sym);
/freebsd-13-stable/contrib/xz/src/liblzma/check/
H A Dcrc32_x86.S61 #define MAKE_SYM_CAT(prefix, sym) prefix ## sym
62 #define MAKE_SYM(prefix, sym) MAKE_SYM_CAT(prefix, sym)
H A Dcrc64_x86.S51 #define MAKE_SYM_CAT(prefix, sym) prefix ## sym
52 #define MAKE_SYM(prefix, sym) MAKE_SYM_CAT(prefix, sym)
/freebsd-13-stable/cddl/usr.sbin/lockstat/
H A DMakefile6 SRCS= lockstat.c sym.c
/freebsd-13-stable/sys/ddb/
H A Ddb_sym.h105 void X_db_symbol_values(db_symtab_t *symtab, c_db_sym_t sym,

Completed in 234 milliseconds

1234567891011>>