Home
last modified time | relevance | path

Searched full:symbols (Results 1 – 25 of 1903) sorted by relevance

12345678910>>...77

/freebsd/usr.bin/clang/llvm-objcopy/
H A Dllvm-objcopy.186 Remove most local symbols from the output. Different file formats may limit
87 this to a subset of the local symbols. For example, file and section symbols in
136 Rename symbols called \fB<old>\fP to \fB<new>\fP in the output. Can be specified
137 multiple times to rename multiple symbols.
142 Rename symbols in the output as described in the file \fB<filename>\fP\&. In the
230 Remove all symbols, debug sections and relocations from the output. This option
236 For ELF objects, remove from the output all symbols and non\-alloc sections not
240 For COFF and Mach\-O objects, remove all symbols, debug sections, and
251 Remove all symbols named \fB<symbol>\fP from the output. Can be specified
252 multiple times to remove multiple symbols.
[all …]
/freebsd/contrib/llvm-project/lld/docs/
H A DNewLLD.rst66 The traditional Unix linker maintains a set of undefined symbols during
72 result, and undefined symbols in the object file are added to the set.
76 symbols in the set.
80 visits archives, there is no undefined symbols in the set. As a result, no
91 no new symbols are added to the set.
96 symbols, we program LLD so that it memorizes all symbols. When it sees an
99 it. It is doable because LLD does not forget symbols it has seen in archive
119 - 6,300,000 symbols, and
125 you have a lot of relocations and symbols for each file.
129 It is important to not waste time on relocations and symbols.
[all …]
H A DWebAssembly.rst40 Export all symbols (normally combined with --no-gc-sections)
48 When building an executable, export any non-hidden symbols. By default only
49 the entry point and any symbols marked as exports (either via the command line
74 Allow undefined symbols in linked binary. This is the legacy
75 flag which corresponds to ``--unresolve-symbols=ignore`` +
81 symbols, one per line, which are allowed to be undefined.
83 .. option:: --unresolved-symbols=<method>
90 Report all unresolved symbols. This is the default. Normally the linker
92 option ``--warn-unresolved-symbols`` can change this to a warning.
96 Resolve all undefined symbols to zero. For data and function addresses
[all …]
H A Dld.lld.176 Don't bind default visibility defined symbols locally for
80 Bind default visibility defined symbols locally for
86 Bind default visibility defined STB_GLOBAL symbols locally for
89 Bind default visibility defined function symbols locally for
92 Bind default visibility defined STB_GLOBAL function symbols locally for
198 Delete all local symbols.
200 Delete temporary local symbols.
202 Keep all symbols in the symbol table.
237 .It Fl -error-unresolved-symbols
238 Report unresolved symbols as errors.
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DCore.h126 /// A map from JITDylibs to sets of symbols.
132 /// only symbols in that Dylib's interface will be searched. If
133 /// MatchHiddenSymbols is used then symbols with hidden visibility will match
176 /// A set of symbols to look up, each associated with a SymbolLookupFlags
202 Symbols.reserve(Names.size());
212 Symbols.reserve(Names.size());
217 /// Construct a SymbolLookupSet from a vector of symbols with the given Flags
224 Symbols.reserve(Names.size());
235 Result.Symbols.reserve(M.size());
246 Symbols.push_back(std::make_pair(std::move(Name), Flags));
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-objcopy/
H A DObjcopyOpts.td31 : Eq<"new-symbol-visibility", "Specify the visibility of symbols automatically "
70 "contains two symbols per line separated with whitespace and may "
73 "symbols from many files">,
107 : Eq<"set-symbols-visibility",
108 "Read a list of symbols from <filename> and change their "
123 "Remove all symbols named <symbol> that are local or undefined and "
127 : Eq<"strip-unneeded-symbols",
128 "Remove all symbols whose names appear in the file <file>, if they "
152 "Mark all symbols that have hidden or internal visibility as local">;
157 : Eq<"localize-symbols",
[all …]
/freebsd/usr.bin/clang/llvm-nm/
H A Dllvm-nm.138 The \fBllvm\-nm\fP utility lists the names of symbols from LLVM bitcode
195 symbol in an LLVM bitcode file, even symbols which are defined in the bitcode
244 Show all symbols, even those usually suppressed.
249 Print only symbols defined in this file.
259 Display dynamic symbols instead of normal symbols.
263 .B \-\-export\-symbols
264 Print sorted symbols with their visibility (if applicable), with duplicates
270 Print only symbols whose definitions are external; that is, accessible from
277 \fIjust\-symbols\fP\&.
288 Print just the symbol names. Alias for \fI\-\-format=just\-symbols\(ga\fP\&.
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-nm/
H A DOpts.td17 def debug_syms : FF<"debug-syms", "Show all symbols, even debugger only">;
18 def defined_only : FF<"defined-only", "Show only defined symbols">;
20 def dynamic : FF<"dynamic", "Display dynamic symbols instead of normal symbols">;
21 def export_symbols : FF<"export-symbols", "Export symbol list for all inputs">;
22 def extern_only : FF<"extern-only", "Show only external symbols">;
23 defm format : Eq<"format", "Specify output format: bsd (default), posix, sysv, darwin, just-symbols">, MetaVarName<"<format>">;
25 def line_numbers : FF<"line-numbers", "Use debugging information to print symbols' filenames and line numbers">;
27 def no_sort : FF<"no-sort", "Show symbols in order encountered">;
28 def no_weak : FF<"no-weak", "Show only non-weak symbols">;
[all...]
/freebsd/crypto/openssl/test/
H A Dshlibloadtest.c69 } symbols[5]; in test_lib() local
110 if (!sd_sym(cryptolib, "OPENSSL_init_crypto", &symbols[0].sym)) { in test_lib()
114 myOPENSSL_init_crypto = (OPENSSL_init_crypto_t)symbols[0].func; in test_lib()
124 if (!sd_sym(ssllib, "TLS_method", &symbols[0].sym) in test_lib()
125 || !sd_sym(ssllib, "SSL_CTX_new", &symbols[1].sym) in test_lib()
126 || !sd_sym(ssllib, "SSL_CTX_free", &symbols[2].sym)) { in test_lib()
127 fprintf(stderr, "Failed to load libssl symbols\n"); in test_lib()
130 myTLS_method = (TLS_method_t)symbols[0].func; in test_lib()
131 mySSL_CTX_new = (SSL_CTX_new_t)symbols[1].func; in test_lib()
132 mySSL_CTX_free = (SSL_CTX_free_t)symbols[2].func; in test_lib()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DInterfaceStubFunctionsConsumer.cpp41 bool WriteNamedDecl(const NamedDecl *ND, MangledSymbols &Symbols, int RDO) { in WriteNamedDecl() argument
108 if (Symbols.find(ND) != Symbols.end()) in WriteNamedDecl()
111 // - Do not want to produce symbols for function paremeters. in WriteNamedDecl()
131 Symbols.insert(std::make_pair( in WriteNamedDecl()
146 MangledSymbols &Symbols, int RDO) { in HandleDecls() argument
148 HandleNamedDecl(dyn_cast<NamedDecl>(D), Symbols, RDO); in HandleDecls()
152 MangledSymbols &Symbols, int RDO) { in HandleTemplateSpecializations() argument
154 HandleNamedDecl(dyn_cast<NamedDecl>(D), Symbols, RDO); in HandleTemplateSpecializations()
158 MangledSymbols &Symbols, int RDO) { in HandleTemplateSpecializations() argument
160 HandleNamedDecl(dyn_cast<NamedDecl>(D), Symbols, RDO); in HandleTemplateSpecializations()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm-c/
H A DOrc.h166 LLVMOrcSymbolStringPoolEntryRef *Symbols; member
185 * A set of symbols that share dependencies.
188 LLVMOrcCSymbolsList Symbols; member
249 * A set of symbols to look up / generate.
358 * lookup included non-exported symbols.
360 * Finally, the LookupSet argument contains the set of symbols that could not
486 * directly reported to a caller. For example, failure to resolve symbols in
550 * Look up symbols in an execution session.
556 * given order to try to find the symbols in the Symbols argument.
558 * The Symbols argument should contain a null-terminated array of
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DCore.cpp83 std::shared_ptr<SymbolDependenceMap> Symbols) in FailedToMaterialize() argument
84 : SSP(std::move(SSP)), Symbols(std::move(Symbols)) { in FailedToMaterialize()
86 assert(!this->Symbols->empty() && "Can not fail to resolve an empty set"); in FailedToMaterialize()
90 for (auto &[JD, Syms] : *this->Symbols) in FailedToMaterialize()
95 for (auto &[JD, Syms] : *Symbols) in ~FailedToMaterialize()
104 OS << "Failed to materialize symbols: " << *Symbols; in log()
127 SymbolNameSet Symbols) in SymbolsNotFound() argument
129 for (auto &Sym : Symbols) in SymbolsNotFound()
130 this->Symbols.push_back(Sym); in SymbolsNotFound()
131 assert(!this->Symbols.empty() && "Can not fail to resolve an empty set"); in SymbolsNotFound()
[all …]
H A DRTDyldObjectLinkingLayer.cpp23 void lookup(const LookupSet &Symbols, OnResolvedFunction OnResolved) override { in lookup() argument
27 // Intern the requested symbols: lookup takes interned strings. in lookup()
28 for (auto &S : Symbols) in lookup()
57 Expected<LookupSet> getResponsibilitySet(const LookupSet &Symbols) override { in getResponsibilitySet() argument
61 if (Symbols.count(*KV.first)) in getResponsibilitySet()
107 // Collect the internal symbols from the object file: We will need to in emit()
112 for (auto &Sym : (*Obj)->symbols()) { in emit()
114 // Skip file symbols. in emit()
132 // Try to claim responsibility of weak symbols in emit()
159 // Don't include symbols that aren't global. in emit()
[all …]
H A DObjectFileInterface.cpp46 for (auto &Sym : Obj.symbols()) { in getMachOObjectFileSymbolInfo()
52 // Skip symbols not defined in this object file. in getMachOObjectFileSymbolInfo()
56 // Skip symbols that are not global. in getMachOObjectFileSymbolInfo()
60 // Skip symbols that have type SF_File. in getMachOObjectFileSymbolInfo()
74 // Strip the 'exported' flag from MachO linker-private symbols. in getMachOObjectFileSymbolInfo()
103 for (auto &Sym : Obj.symbols()) { in getELFObjectFileSymbolInfo()
109 // Skip symbols not defined in this object file. in getELFObjectFileSymbolInfo()
113 // Skip symbols that are not global. in getELFObjectFileSymbolInfo()
117 // Skip symbols that have type SF_File. in getELFObjectFileSymbolInfo()
158 for (auto &Sym : Obj.symbols()) { in getCOFFObjectFileSymbolInfo()
[all...]
/freebsd/contrib/llvm-project/llvm/include/llvm/TextAPI/
H A DSymbolSet.h88 SymbolsMapType Symbols;
96 size_t size() const { return Symbols.size(); }
137 // Range that contains all symbols.
138 const_symbol_range symbols() const {
139 return {Symbols.begin(), Symbols.end()};
142 // Range that contains all defined and exported symbols.
148 make_range<const_symbol_iterator>({Symbols.begin()}, {Symbols.end()}),
152 // Range that contains all reexported symbols.
158 make_range<const_symbol_iterator>({Symbols.begin()}, {Symbols.end()}),
162 // Range that contains all undefined and exported symbols.
[all …]
/freebsd/usr.bin/clang/llvm-pdbutil/
H A Dllvm-pdbutil.1128 Display types, symbols, CodeView records, and other information from a
149 types, symbols, etc as raw bytes.
195 symbols, this option instructs \fBllvm\-pdbutil\fP to omit any compilands that
200 .B \-exclude\-symbols=<string>
201 When dumping global, public, or per\-compiland symbols, this option instructs
202 \fBllvm\-pdbutil\fP to omit any symbols that match the specified regular
215 symbols, limit the initial search to only those compilands that match the
220 .B \-include\-symbols=<string>
221 When dumping global, public, or per\-compiland symbols, limit the initial
222 search to only those symbols that match the specified regular expression.
[all …]
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/
H A DTextStub.cpp57 symbols: [ _sym ] # Optional: List of symbols
61 weak-def-symbols: [] # Optional: List of weak defined symbols
62 thread-local-symbols: [] # Optional: List of thread local symbols
91 symbols: [ _sym ] # Optional: List of symbols
95 weak-def-symbols: [] # Optional: List of weak defined symbols
96 thread-local-symbols: [] # Optional: List of thread local symbols
100 symbols: [ _sym ] # Optional: List of symbols
103 weak-ref-symbols: [] # Optional: List of weak defined symbols
132 symbols: [ _sym ] # Optional: List of symbols
138 weak-def-symbols: [] # Optional: List of weak defined symbols
[all …]
H A DRecordVisitor.cpp26 // Skip non exported symbols unless for flat namespace libraries. in shouldSkipRecord()
34 Symbols->addGlobal(SymKind, SymName, GR.getFlags(), Targ); in visitGlobal()
37 Symbols->addGlobal(SymKind, SymName, GR.getFlags(), Targ); in visitGlobal()
43 Symbols->addGlobal(EncodeKind::GlobalSymbol, GR.getName(), GR.getFlags(), in visitGlobal()
54 Symbols->addGlobal(EncodeKind::ObjectiveCInstanceVariable, Name, in addIVars()
62 Symbols->addGlobal(EncodeKind::ObjectiveCClass, ObjCR.getName(), in visitObjCInterface()
65 Symbols->addGlobal(EncodeKind::ObjectiveCClassEHType, ObjCR.getName(), in visitObjCInterface()
68 // Because there is not a complete interface, visit individual symbols in visitObjCInterface()
71 Symbols->addGlobal(EncodeKind::GlobalSymbol, in visitObjCInterface()
75 Symbols->addGlobal(EncodeKind::GlobalSymbol, in visitObjCInterface()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DTapiFile.cpp54 for (const auto *Symbol : Interface.symbols()) { in TapiFile()
60 Symbols.emplace_back(StringRef(), Symbol->getName(), getFlags(Symbol), in TapiFile()
65 Symbols.emplace_back(ObjC1ClassNamePrefix, Symbol->getName(), in TapiFile()
68 Symbols.emplace_back(ObjC2ClassNamePrefix, Symbol->getName(), in TapiFile()
70 Symbols.emplace_back(ObjC2MetaClassNamePrefix, Symbol->getName(), in TapiFile()
75 Symbols.emplace_back(ObjC2EHTypePrefix, Symbol->getName(), in TapiFile()
79 Symbols.emplace_back(ObjC2IVarPrefix, Symbol->getName(), getFlags(Symbol), in TapiFile()
91 assert(DRI.d.a < Symbols.size() && "Attempt to access symbol out of bounds"); in printSymbolName()
92 const Symbol &Sym = Symbols[DRI.d.a]; in printSymbolName()
98 assert(DRI.d.a < Symbols.size() && "Attempt to access symbol out of bounds"); in getSymbolType()
[all …]
/freebsd/usr.bin/clang/llvm-readobj/
H A Dllvm-readobj.159 \fI\%\-\-symbols\fP, for GNU \fBreadelf\fP compatibility, whereas it is
62 \fBllvm\-readobj\fP provides \fB\-t\fP as an alias for \fI\%\-\-symbols\fP\&.
67 \fI\%\-\-section\-symbols\fP and \fI\%\-\-dyn\-symbols\fP respectively.
143 .B \-\-section\-symbols, \-\-st
144 When used with \fI\%\-\-sections\fP, display symbols for each section shown.
149 .B \-\-sort\-symbols=<sort_key[,sort_key]>
150 Specify the keys to sort symbols before displaying symtab.
171 .B \-\-symbols, \-\-syms, \-s
220 .B \-\-dyn\-symbols, \-\-dyn\-syms, \-\-dt
259 Display the GNU hash table for dynamic symbols.
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DCVSymbolVisitor.cpp70 Error CVSymbolVisitor::visitSymbolStream(const CVSymbolArray &Symbols) { in visitSymbolStream() argument
71 for (auto I : Symbols) { in visitSymbolStream()
78 Error CVSymbolVisitor::visitSymbolStream(const CVSymbolArray &Symbols, in visitSymbolStream() argument
80 for (auto I : Symbols) { in visitSymbolStream()
81 if (auto EC = visitSymbolRecord(I, InitialOffset + Symbols.skew())) in visitSymbolStream()
88 Error CVSymbolVisitor::visitSymbolStreamFiltered(const CVSymbolArray &Symbols, in visitSymbolStreamFiltered() argument
91 return visitSymbolStream(Symbols); in visitSymbolStreamFiltered()
95 if (!Symbols.isOffsetValid(SymbolOffset)) in visitSymbolStreamFiltered()
97 CVSymbol Sym = *Symbols.at(SymbolOffset); in visitSymbolStreamFiltered()
104 for (auto Begin = Symbols.begin(), End = Symbols.end(); Begin != End; in visitSymbolStreamFiltered()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DAssertFrameRecognizer.cpp31 location.symbols.push_back(ConstString("__pthread_kill")); in GetAbortLocation()
35 location.symbols.push_back(ConstString("raise")); in GetAbortLocation()
36 location.symbols.push_back(ConstString("__GI_raise")); in GetAbortLocation()
37 location.symbols.push_back(ConstString("gsignal")); in GetAbortLocation()
38 location.symbols.push_back(ConstString("pthread_kill")); in GetAbortLocation()
64 location.symbols.push_back(ConstString("__assert_rtn")); in GetAssertLocation()
68 location.symbols.push_back(ConstString("__assert_fail")); in GetAssertLocation()
69 location.symbols.push_back(ConstString("__GI___assert_fail")); in GetAssertLocation()
91 location.module_spec.GetFilename(), location.symbols, in RegisterAssertFrameRecognizer()
103 for (auto it = location.symbols.cbegin(); it != location.symbols.cend(); in RegisterAssertFrameRecognizer()
[all …]
/freebsd/contrib/llvm-project/lld/ELF/
H A DSymbols.h1 //===- Symbols.h ------------------------------------------------*- C++ -*-===//
9 // This file defines various types of Symbols.
122 // output file's symbol table. This is true for all symbols except for
123 // unreferenced DSO symbols, lazy (archive) symbols, and bitcode symbols that
130 // NOTE: In Writer.cpp the field is used to mark local defined symbols
140 // STV_PROTECTED symbols which can't be interposed (to match BFD behavior).
174 // observed non-DSO symbols.
234 // You are expected to call mergeProperties for all symbols in input
402 // Common symbols represent variable definitions without initializations.
403 // The compiler creates common symbols when it sees variable definitions
[all …]
/freebsd/contrib/llvm-project/lld/docs/MachO/
H A Dld64-vs-lld.rst8 Dead Stripping Duplicate Symbols
10 ld64 strips dead code before reporting duplicate symbols. By default, LLD does
28 ObjC Symbols Treatment
30 There are differences in how LLD and ld64 handle ObjC symbols loaded from
34 1. Duplicate ObjC symbols from the same archives will not raise an error.
36 2. Duplicate ObjC symbols from different archives will raise a "duplicate
38 - LLD: Duplicate symbols, regardless of which archives they are from, will
47 duplicate symbols. In particular, we will not report a duplicate symbol error if
48 the aliased symbols turn out to be weak definitions, but ld64 will.
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DOpts.td18 "--symbols, --relocations, --dynamic-table, --notes, --version-info, --unwind, "
30 def extra_sym_info : FF<"extra-sym-info", "Display extra information when showing symbols">;
42 def section_symbols : FF<"section-symbols", "Display symbols for each section shown. This option ha…
43 defm sort_symbols : Eq<"sort-symbols", "Specify the keys to sort the symbols before displaying symt…
48 def symbols : FF<"symbols", "Display the symbol table. Also display the dynamic symbol table when u…
58 def gnu_hash_table : FF<"gnu-hash-table", "Display the GNU hash table for dynamic symbols">, Group<…
59 def hash_symbols : FF<"hash-symbols", "Display the dynamic symbols derived from the hash section">,…
71 def macho_indirect_symbols : FF<"macho-indirect-symbols", "Display indirect symbols">, Group<grp_ma…
96 def loader_section_symbols : FF<"loader-section-symbols" , "Display the loader section symbol table…
109 def : Flag<["--"], "st">, Alias<section_symbols>, HelpText<"Alias for --section-symbols">;
[all …]

12345678910>>...77