Home
last modified time | relevance | path

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

12345678910>>...147

/llvm-project/llvm/test/tools/llvm-readobj/ELF/
H A Dsymbols.test1 ## This is a general test for --symbols option and its aliases.
2 ## There are also other symbols* tests that check specific things.
6 ## They might never have dynamic symbols normally, for example, though we still want
7 ## to document the --dyn-symbols behavior.
11 ## Case 1: Test how llvm-readobj and llvm-readelf dumps symbols.
14 # RUN: llvm-readobj --symbols %t64 | FileCheck %s --match-full-lines --strict-whitespace --check-pr…
15 # RUN: llvm-readelf --symbols %t64 | FileCheck %s --match-full-lines --strict-whitespace --check-pr…
16 …a-sym-info %t64 | FileCheck %s --match-full-lines --strict-whitespace --check-prefix=SYMBOLS-GNU64X
18 # RUN: llvm-readobj --symbols %t32 | FileCheck %s --match-full-lines --strict-whitespace --check-pr…
19 # RUN: llvm-readelf --symbols %t32 | FileCheck %s --match-full-lines --strict-whitespace --check-pr…
[all …]
/llvm-project/llvm/test/tools/llvm-objcopy/MachO/
H A Dremove-swift-symbols.test1 ## Verify that -T removes Swift symbols.
6 # RUN: llvm-readobj -s %t1 | FileCheck --check-prefix=NO-SWIFT-SYMBOLS %s
12 # RUN: llvm-readobj -s %t2 | FileCheck --check-prefix=NO-SWIFT-SYMBOLS %s
18 # RUN: llvm-readobj -s %t3 | FileCheck --check-prefix=NO-SWIFT-SYMBOLS %s
20 # NO-SWIFT-SYMBOLS: Symbols [
21 # NO-SWIFT-SYMBOLS-NEXT: Symbol {
22 # NO-SWIFT-SYMBOLS-NEXT: Name: _main (2)
23 # NO-SWIFT-SYMBOLS-NEXT: Extern
24 # NO-SWIFT-SYMBOLS-NEXT: Type: Section (0xE)
25 # NO-SWIFT-SYMBOLS-NEXT: Section: __text (0x1)
[all …]
/llvm-project/llvm/test/tools/llvm-symbolizer/
H A Dsymbol-search.test4 # It uses ELF shared object `Inputs/symbols.so` built for x86_64 using
5 # the instructions from `Inputs/symbols.h`.
8 RUN: llvm-addr2line --obj=%p/Inputs/symbols.so "CODE func_01" | FileCheck --check-prefix=CODE-CMD %s
9 RUN: llvm-symbolizer --obj=%p/Inputs/symbols.so "CODE func_01" | FileCheck --check-prefix=CODE-CMD …
10 CODE-CMD: /tmp/dbginfo{{[/\]+}}symbols.part1.cpp:12
13 RUN: llvm-addr2line -e %p/Inputs/symbols.so func_01 | FileCheck --check-prefix=SYMB %s
14 RUN: llvm-symbolizer -e %p/Inputs/symbols.so func_01 | FileCheck --check-prefix=SYMB %s
15 SYMB: /tmp/dbginfo{{[/\]+}}symbols.part1.cpp:12
18 RUN: llvm-addr2line -e %p/Inputs/symbols.so "func_01 ignored text" | FileCheck --check-prefix=SYMB …
19 RUN: llvm-symbolizer -e %p/Inputs/symbols.so "func_01 ignored text" | FileCheck --check-prefix=SYMB…
[all …]
/llvm-project/llvm/test/MC/ELF/
H A Dmany-sections-2.s3 // RUN: llvm-readobj --symbols %t | FileCheck --check-prefix=SYMBOLS %s
11 // SYMBOLS-NOT: symtab_shndx
13 // SYMBOLS: Name: dm (0)
14 // SYMBOLS: Value: 0x0
15 // SYMBOLS: Size: 0
16 // SYMBOLS: Binding: Local (0x0)
17 // SYMBOLS: Type: Section (0x3)
18 // SYMBOLS: Other: 0
19 // SYMBOLS: Section: dm (0xFF00)
20 // SYMBOLS-NEXT: }
[all …]
/llvm-project/llvm/test/tools/llvm-objcopy/COFF/
H A Dbigobj.test3 RUN: llvm-objdump -t %t.in.o | FileCheck %s --check-prefixes=SYMBOLS,SYMBOLS-BIG,SYMBOLS-ORIG
5 # Do a plain copy, to check that section numbers in symbols referring
8 RUN: llvm-objdump -t %t.in.o | FileCheck %s --check-prefixes=SYMBOLS,SYMBOLS-BIG,SYMBOLS-ORIG
12 RUN: llvm-objdump -t %t.small.o | FileCheck %s --check-prefixes=SYMBOLS,SYMBOLS-SMALL,SYMBOLS-REMOV…
16 RUN: llvm-objdump -t %t.big.o | FileCheck %s --check-prefixes=SYMBOLS,SYMBOLS-BIG,SYMBOLS-REMOVED-B…
20 # raw symbol indices of later symbols to change.
21 SYMBOLS: SYMBOL TABLE:
22 SYMBOLS-NEXT: [ 0]{{.*}} (nx 1) {{.*}} .text
23 SYMBOLS-NEXT: AUX scnlen
24 SYMBOLS-SMALL-NEXT: [ 2]{{.*}} (nx 2) {{.*}} .file
[all …]
H A Dremove-section.test4 # RUN: llvm-objdump -t %t.in.o | FileCheck %s --check-prefixes=SYMBOLS-PRE
8 # RUN: llvm-objdump -t %t.remove-bss.o | FileCheck %s --check-prefix=SYMBOLS-REMOVE-BSS
15 # RUN: llvm-objdump -t %t.remove-text.o | FileCheck %s --check-prefix=SYMBOLS-REMOVE-TEXT
21 # RUN: llvm-objdump -t %t.remove-text-comdat.o | FileCheck %s --check-prefix=SYMBOLS-REMOVE-TEXT-CO…
32 # SYMBOLS-PRE: SYMBOL TABLE:
33 # SYMBOLS-PRE-NEXT: {{.*}}(sec -1){{.*}} @feat.00
34 # SYMBOLS-PRE-NEXT: {{.*}}(sec 1){{.*}} .text
35 # SYMBOLS-PRE-NEXT: AUX scnlen {{.*}} assoc 1 comdat 0
36 # SYMBOLS-PRE-NEXT: {{.*}}(sec 2){{.*}} .bss
37 # SYMBOLS-PRE-NEXT: AUX scnlen {{.*}} assoc 2 comdat 0
[all …]
/llvm-project/llvm/test/tools/llvm-objdump/
H A Dmultiple-symbols.s1 // This test checks the behavior of llvm-objdump's --disassemble-symbols and
2 // --show-all-symbols options, in the presence of multiple symbols defined at
6 // function-type symbols defined at its entry point. Also, because it's Arm,
10 // By default, llvm-objdump will pick one of the symbols to disassemble at each
17 // the display of symbols doesn't affect the recognition of mapping symbols for
46 // With the --show-all-symbols option, all the symbols are shown, including the
47 // administrative mapping symbols
[all...]
/llvm-project/llvm/test/tools/yaml2obj/ELF/
H A Dllvm-addrsig-section.yaml3 ## Check we can describe SHT_LLVM_ADDRSIG using the "Symbols" tag. We can define
4 ## symbols either using names or indexes.
7 # RUN: llvm-readobj --sections --section-data %t1 | FileCheck %s --check-prefix=SYMBOLS
9 # SYMBOLS: Section {
10 # SYMBOLS: Index: 1
11 # SYMBOLS-NEXT: Name: .llvm_addrsig
12 # SYMBOLS-NEXT: Type: SHT_LLVM_ADDRSIG
13 # SYMBOLS-NEXT: Flags [
14 # SYMBOLS-NEXT: ]
15 # SYMBOLS-NEXT: Address: 0x0
[all …]
/llvm-project/llvm/test/MC/AArch64/
H A Dcoff-relocations-offset.s3 // RUN: llvm-readobj --syms %t.obj | FileCheck %s --check-prefix=SYMBOLS
32 // SYMBOLS: Symbol {
33 // SYMBOLS: Name: $L.rdata_1
34 // SYMBOLS-NEXT: Value: 1048576
35 // SYMBOLS-NEXT: Section: .rdata (4)
36 // SYMBOLS-NEXT: BaseType: Null (0x0)
37 // SYMBOLS-NEXT: ComplexType: Null (0x0)
38 // SYMBOLS-NEXT: StorageClass: Label (0x6)
39 // SYMBOLS-NEXT: AuxSymbolCount: 0
40 // SYMBOLS-NEXT: }
[all …]
/llvm-project/llvm/test/tools/llvm-objcopy/ELF/
H A Dset-symbol-visibility.test2 # RUN: echo '.*' > %t.symbols.regex
4 ## Check that the visibility of all symbols is properly set to DEFAULT.
5 # RUN: llvm-objcopy %t.o %t0.o --set-symbols-visibility=%t.symbols.regex=default --regex
21 ## Check that the visibility of all symbols is properly set to HIDDEN.
22 # RUN: llvm-objcopy %t.o %t1.o --set-symbols-visibility=%t.symbols.regex=hidden --regex
38 ## Check that the visibility of all symbols is properly set to PROTECTED.
39 # RUN: llvm-objcopy %t.o %t2.o --set-symbols-visibility=%t.symbols.regex=protected --regex
55 ## Check that the visibility of all symbols is properly set to INTERNAL.
56 # RUN: llvm-objcopy %t.o %t3.o --set-symbols-visibility=%t.symbols.regex=internal --regex
72 ## Check that setting the visibility of certain symbols that were read from
[all …]
H A Dkeep-symbol.test5 # RUN: llvm-readobj --symbols %t2 | FileCheck %s
6 # RUN: llvm-readobj --symbols %t3 | FileCheck %s
7 # RUN: llvm-readobj --symbols %t4 | FileCheck %s --check-prefix=REGEX
9 # RUN: echo 'foo' > %t.symbols
10 # RUN: echo 'bar' >> %t.symbols
11 # RUN: echo '.* # no regex without --regex' >> %t.symbols
12 # RUN: llvm-objcopy --discard-all --keep-symbols %t.symbols %t %t5
13 # RUN: llvm-objcopy -K foo -N foo -N bar --keep-symbols %t.symbols -N baz %t %t6
14 # RUN: llvm-readobj --symbols %t5 | FileCheck %s
15 # RUN: llvm-readobj --symbols %t6 | FileCheck %s
[all …]
/llvm-project/lld/test/ELF/
H A Dtrace-symbols.s6 # RUN: %p/Inputs/trace-symbols-foo-weak.s -o %t1
8 # RUN: %p/Inputs/trace-symbols-foo-strong.s -o %t2
18 # PREEMPT: trace-symbols.s.tmp1: definition of foo
19 # PREEMPT-NEXT: trace-symbols.s.tmp1.so: shared definition of foo
23 # OBJECTRFOO: trace-symbols.s.tmp: reference to foo
27 # OBJECTDCOMMON: trace-symbols.s.tmp1: common definition of common
31 # OBJECTD1FOO: trace-symbols.s.tmp: reference to foo
32 # OBJECTD1FOO: trace-symbols.s.tmp1: common definition of common
33 # OBJECTD1FOO: trace-symbols.s.tmp1: definition of foo
34 # OBJECTD1FOO: trace-symbols.s.tmp2: definition of foo
[all …]
/llvm-project/compiler-rt/test/profile/
H A Dinstrprof-without-libc.c2 // RUN: %clang_profgen -DCHECK_SYMBOLS -O3 -o %t.symbols %s
3 // RUN: llvm-nm %t.symbols | FileCheck %s --check-prefix=CHECK-SYMBOLS
46 // Don't write it out. Since we're checking the symbols, we don't have libc in main()
63 // CHECK-SYMBOLS-NOT: {{ }}___cxx_global_var_init
64 // CHECK-SYMBOLS-NOT: {{ }}___llvm_profile_register_write_file_atexit
65 // CHECK-SYMBOLS-NOT: {{ }}___llvm_profile_set_filename
66 // CHECK-SYMBOLS-NOT: {{ }}___llvm_profile_write_file
67 // CHECK-SYMBOLS-NOT: {{ }}_fdopen
68 // CHECK-SYMBOLS
[all...]
/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 …]
/llvm-project/lldb/test/Shell/SymbolFile/DWARF/x86/
H A Ddwp.s4 # RUN: lldb-test symbols %t | FileCheck %s --check-prefix=SYMBOLS
17 # SYMBOLS: Compile units:
18 # SYMBOLS-NEXT: CompileUnit{0x00000000}, language = "<not loaded>", file = '0.c'
19 # SYMBOLS-NEXT: Variable{{.*}}, name = "A", {{.*}}, location = DW_OP_GNU_addr_index 0x0
20 # SYMBOLS-NEXT: Function{{.*}}, demangled = F0
21 # SYMBOLS-NEXT: Block{{.*}}, ranges = [0x00000000-0x00000001)
22 # SYMBOLS-NEXT: Variable{{.*}}, name = "x", {{.*}}, location =
23 # SYMBOLS-NEXT: [0x0000000000000000, 0x0000000000000001): DW_OP_reg0 RAX
24 # SYMBOLS-EMPTY:
25 # SYMBOLS-NEXT: CompileUnit{0x00000001}, language = "<not loaded>", file = '1.c'
[all …]
H A Dfind-basic-function.cpp5 // RUN: lldb-test symbols --name=foo --find=function --function-flags=base %t | \
7 // RUN: lldb-test symbols --name=foo --find=function --function-flags=method %t | \
9 // RUN: lldb-test symbols --name=foo --find=function --function-flags=full %t | \
11 // RUN: lldb-test symbols --name=_Z3fooi --find=function --function-flags=full %t | \
13 // RUN: lldb-test symbols --name=_ZN3bar3baz3fooEv --find=function --function-flags=full %t | \
15 // RUN: lldb-test symbols --name=_ZN4sbar3fooEi --find=function --function-flags=full %t | \
17 // RUN: lldb-test symbols --name=foo --context=context --find=function --function-flags=base %t | \
19 // RUN: lldb-test symbols --name=not_there --find=function %t | \
23 // RUN: lldb-test symbols --name=foo --find=function --function-flags=base %t | \
25 // RUN: lldb-test symbols --name=foo --find=function --function-flags=method %t | \
[all …]
/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DCore.h143 /// only symbols in that Dylib's interface will be searched. If
144 /// MatchHiddenSymbols is used then symbols with hidden visibility will match
187 /// A set of symbols to look up, each associated with a SymbolLookupFlags
205 Symbols.push_back(std::move(E));
218 Symbols.reserve(Names.size());
228 Symbols.reserve(Names.size());
233 /// Construct a SymbolLookupSet from a vector of symbols with the given Flags
240 Symbols.reserve(Names.size());
251 Result.Symbols.reserve(M.size()); in append()
262 Symbols in end()
436 std::shared_ptr<SymbolDependenceMap> Symbols; global() variable
475 SymbolNameVector Symbols; global() variable
492 SymbolNameSet Symbols; global() variable
504 MissingSymbolDefinitions(std::shared_ptr<SymbolStringPool> SSP,std::string ModuleName,SymbolNameVector Symbols) MissingSymbolDefinitions() argument
515 SymbolNameVector Symbols; global() variable
527 UnexpectedSymbolDefinitions(std::shared_ptr<SymbolStringPool> SSP,std::string ModuleName,SymbolNameVector Symbols) UnexpectedSymbolDefinitions() argument
538 SymbolNameVector Symbols; global() variable
544 SymbolNameSet Symbols; global() member
777 SymbolMap Symbols; global() variable
791 absoluteSymbols(SymbolMap Symbols) absoluteSymbols() argument
1223 DenseMap<NonOwningSymbolStringPtr, JITSymbolFlags> Symbols; global() member
1343 SymbolTable Symbols; global() variable
1760 createMaterializationResponsibility(ResourceTracker & RT,SymbolFlagsMap Symbols,SymbolStringPtr InitSymbol) createMaterializationResponsibility() argument
2031 notifyResolved(const SymbolMap & Symbols) notifyResolved() argument
2056 delegate(const SymbolNameSet & Symbols) delegate() argument
[all...]
/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...]
/llvm-project/llvm/test/tools/llvm-dlltool/
H A Dcoff-weak-exports.def4 ; RUN: llvm-readobj --symbols %t.a | FileCheck -check-prefix=SYMBOLS %s
45 ; SYMBOLS: Symbol {
46 ; SYMBOLS: Name: TestFunction
47 ; SYMBOLS-NEXT: Value: 0
48 ; SYMBOLS-NEXT: Section: IMAGE_SYM_UNDEFINED (0)
49 ; SYMBOLS-NEXT: BaseType: Null (0x0)
50 ; SYMBOLS-NEXT: ComplexType: Null (0x0)
51 ; SYMBOLS-NEXT: StorageClass: WeakExternal (0x69)
52 ; SYMBOLS
[all...]
/llvm-project/llvm/docs/CommandGuide/
H A Dllvm-nm.rst14 The :program:`llvm-nm` utility lists the names of symbols from LLVM bitcode
117 symbol in an LLVM bitcode file, even symbols which are defined in the bitcode
155 Show all symbols, even those usually suppressed.
159 Print only symbols defined in this file.
167 Display dynamic symbols instead of normal symbols.
169 .. option:: --export-symbols
171 Print sorted symbols with their visibility (if applicable), with duplicates
176 Print only symbols whose definitions are external; that is, accessible from
182 *just-symbols*.
191 Print just the symbol names. Alias for `--format=just-symbols``.
[all …]
H A Dllvm-objcopy.rst60 Remove most local symbols from the output. Different file formats may limit
61 this to a subset of the local symbols. For example, file and section symbols in
83 Mark any defined symbols named ``<symbol>`` as global symbols in the output.
84 Can be specified multiple times to mark multiple symbols.
86 .. option:: --globalize-symbols <filename>
88 Read a list of names from the file ``<filename>`` and mark defined symbols with
99 Mark all symbols local in the output, except for symbols wit
[all...]
/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
25 def line_numbers : FF<"line-numbers", "Use debugging information to print symbols' filenames and li…
27 def no_sort : FF<"no-sort", "Show symbols in order encountered">;
28 def no_weak : FF<"no-weak", "Show only non-weak symbols">;
29 def numeric_sort : FF<"numeric-sort", "Sort symbols by address">;
[all …]
/llvm-project/llvm/test/tools/llvm-readtapi/Inputs/
H A Dv4D.tbd25 symbols: [ _symA ]
27 weak-symbols: [ _symC ]
29 symbols: [ _symB ]
51 symbols: [ _symA ]
53 weak-symbols: [ _symC ]
55 symbols: [ _symB ]
79 symbols: [ _symA ]
83 weak-symbols: []
84 thread-local-symbols: []
86 symbols: [_symB]
[all …]
/llvm-project/clang/test/Index/
H A Dlocal-symbols.m32 // CHECK: local-symbols.m:5:12: ObjCInterfaceDecl=Foo:5:12 Extent=[5:1 - 9:5]
33 // CHECK: local-symbols.m:6:6: ObjCIvarDecl=x:6:6 (Definition) Extent=[6:3 - 6:7]
34 // CHECK: local-symbols.m:6:3: TypeRef=id:0:0 Extent=[6:3 - 6:5]
35 // CHECK: local-symbols.m:8:8: ObjCInstanceMethodDecl=bar:8:8 Extent=[8:1 - 8:12]
36 // CHECK: local-symbols.m:8:4: TypeRef=id:0:0 Extent=[8:4 - 8:6]
37 // CHECK: local-symbols.m:11:17: ObjCImplementationDecl=Foo:11:17 (Definition) Extent=[11:1 - 15:2]
38 // CHECK: local-symbols.m:12:8: ObjCInstanceMethodDecl=bar:12:8 (Definition) Extent=[12:1 - 14:2]
39 // CHECK: local-symbols.m:12:4: TypeRef=id:0:0 Extent=[12:4 - 12:6]
40 // CHECK: local-symbols.m:13:10: UnexposedExpr= Extent=[13:10 - 13:11]
41 // CHECK: local-symbols.m:13:10: IntegerLiteral= Extent=[13:10 - 13:11]
[all …]

12345678910>>...147