Home
last modified time | relevance | path

Searched full:exports (Results 1 – 25 of 442) sorted by relevance

12345678910>>...18

/llvm-project/lld/test/MachO/
H A Dexport-trie.s11 # RUN: llvm-objdump --syms --exports-trie %t | FileCheck %s --check-prefix=EXPORTS
12 # EXPORTS-LABEL: SYMBOL TABLE:
13 # EXPORTS-DAG: [[#%x, MAIN_ADDR:]] {{.*}} _main
14 # EXPORTS-DAG: [[#%x, HELLO_ADDR:]] {{.*}} _hello
15 # EXPORTS-DAG: [[#%x, HELLO_WORLD_ADDR:]] {{.*}} _hello_world
16 # EXPORTS-DAG: [[#%x, HELLO_ITS_ME_ADDR:]] {{.*}} _hello_its_me
17 # EXPORTS-DAG: [[#%x, HELLO_ITS_YOU_ADDR:]] {{.*}} _hello_its_you
18 # EXPORTS-DAG: [[#%x, HEADER_ADDR:]] g F __TEXT,__text __mh_execute_header
19 # EXPORTS-LABEL: Exports trie:
20 # EXPORTS-DAG: 0x{{0*}}[[#%X, HEADER_ADDR]] __mh_execute_header
[all …]
H A Dweak-def-can-be-hidden.s27 # RUN: llvm-objdump --syms --exports-trie %t/weak-autohide-foo.dylib | \
28 # RUN: FileCheck --check-prefix=EXPORTS %s
30 # RUN: FileCheck --check-prefix=EXPORTS-NM %s
37 ## exports trie or bind tables, but it claims they are weak in the symbol
40 # EXPORTS-LABEL: SYMBOL TABLE:
41 # EXPORTS-DAG: [[#%x, FOO_ADDR:]] {{.*}} _foo
42 # EXPORTS-LABEL: Exports trie:
43 # EXPORTS-NOT: 0x{{0*}}[[#%X, FOO_ADDR]] _foo
48 # EXPORTS-NM: (__TEXT,__text) non-external (was a private external) _foo
65 # RUN: llvm-objdump --syms --exports-trie %t/weak-autohide-foo-pe.dylib | \
[all …]
H A Ddylib.s24 # RUN: llvm-objdump --syms --exports-trie %t.dylib | \
25 # RUN: FileCheck %s --check-prefix=EXPORTS
26 # EXPORTS-LABEL: SYMBOL TABLE:
27 # EXPORTS: [[#%x, HELLO_WORLD_ADDR:]] {{.*}} _hello_world
28 # EXPORTS-LABEL: Exports trie:
29 # EXPORTS: 0x{{0*}}[[#%X, HELLO_WORLD_ADDR]] _hello_world
H A Dprivate-extern.s10 # RUN: llvm-objdump --syms --exports-trie %t/basics | \
11 # RUN: FileCheck --check-prefix=EXPORTS %s
12 # RUN: llvm-nm -m %t/basics | FileCheck --check-prefix=EXPORTS-NM %s
13 # EXPORTS-LABEL: SYMBOL TABLE:
14 # EXPORTS-DAG: [[#%x, FOO_ADDR:]] l {{.*}} _foo
15 # EXPORTS-DAG: [[#%x, BAR_ADDR:]] g {{.*}} _bar
16 # EXPORTS-LABEL: Exports trie:
17 # EXPORTS-NOT: 0x{{0*}}[[#%X, FOO_ADDR]] _foo
18 # EXPORTS-DAG: 0x{{0*}}[[#%X, BAR_ADDR]] _bar
19 # EXPORTS-NOT: 0x{{0*}}[[#%X, FOO_ADDR]] _foo
[all …]
H A Dexport-options.s25 # RUN: FileCheck --check-prefix=CONFLICT-NO-EXPORTS %s
29 # RUN: FileCheck --check-prefix=CONFLICT-NO-EXPORTS %s
33 # CONFLICT-NO-EXPORTS: error: cannot use both -exported_symbol* and -no_exported_symbols options
71 # RUN: llvm-objdump --macho --exports-trie %t/hidden-export | \
73 # EMPTY-TRIE: Exports trie:
78 # RUN: llvm-objdump --macho --exports-trie %t/default | \
81 # DEFAULT-LABEL: Exports trie:
92 # RUN: llvm-objdump --macho --exports-trie %t/allowed | \
100 # RUN: llvm-objdump --macho --exports-trie %t/denied | \
105 # TRIE-LABEL: Exports trie:
[all …]
H A Dtapi-link.s77 ## libc++.tbd (which re-exports libc++abi). Linking against this symbol verifies
78 ## that .tbd file re-exports can refer not just to TAPI documents within the
92 exports: label
94 re-exports: [ '/usr/lib/libNested2.dylib' ]
100 exports: label
102 re-exports: [ '/usr/lib/libNested3.dylib' ]
108 exports: label
119 exports: label
121 re-exports: [ 'libNested.dylib' ]
133 exports: # Validate weak & thread-local symbols label
H A Dreproduce.s6 # RUN: echo '_main' > %t.dir/main.exports
11 # RUN: -exported_symbols_list main.exports \
19 # LIST: [[PATH]]/main.exports
26 # RUN: diff main.exports repro1/%:t.dir/main.exports
31 # RSP1-NEXT: -exported_symbols_list [[BASEDIR:.+]]/main.exports
/llvm-project/clang/cmake/caches/
H A DMultiDistributionExample.cmake54 # Note that we need to include the CMake exports targets for the distribution
55 # (development-cmake-exports and clang-development-cmake-exports), as well as
56 # the general CMake exports target for each project (cmake-exports and
57 # clang-cmake-exports), in our list of targets. The distribution CMake exports
58 # targets just install the CMake exports file for the distribution's targets,
59 # whereas the project CMake exports targets install the rest of the project's
60 # CMake exports (which are needed in order to import the project from other
61 # CMake_projects via find_package, and include the distribution's CMake exports
65 cmake-exports
66 development-cmake-exports
[all …]
/llvm-project/lld/test/COFF/
H A Ddef-export-stdcall.s6 # RUN: llvm-readobj --coff-exports %t.dll | FileCheck -check-prefix UNDECORATED-EXPORTS %s
25 # UNDECORATED-EXPORTS: Name: _underscored
26 # UNDECORATED-EXPORTS: Name: fastcall
27 # UNDECORATED-EXPORTS: Name: stdcall
28 # UNDECORATED-EXPORTS: Name: vectorcall
34 # RUN: llvm-readobj --coff-exports %t.dll | FileCheck -check-prefix DECORATED-EXPORTS %s
49 # DECORATED-EXPORTS: Name: @fastcall@8
50 # DECORATED-EXPORTS: Name: _stdcall@8
51 # DECORATED-EXPORTS: Name: vectorcall@@8
58 # RUN: llvm-readobj --coff-exports %t.dll | FileCheck -check-prefix DECORATED-MINGW-EXPORTS %s
[all …]
H A Dedata.s5 # RUN: llvm-readobj --coff-exports %t.dll | FileCheck %s
7 # RUN: llvm-readobj --coff-exports %t.dll | FileCheck %s
10 # instead of the linker generated exports.
21 # WARNING: warning: literal .edata sections override exports
31 // The object contains a manually crafted .edata section, which exports
35 exports: label
H A Dexportas.test16 RUN: llvm-readobj --coff-exports out2.dll | FileCheck --check-prefix=EXPORT %s
29 RUN: llvm-readobj --coff-exports out3.dll | FileCheck --check-prefix=EXPORT %s
35 RUN: llvm-readobj --coff-exports out4.dll | FileCheck --check-prefix=EXPORT %s
41 RUN: llvm-readobj --coff-exports out5.dll | FileCheck --check-prefix=FORWARD-EXPORT %s
57 RUN: llvm-readobj --coff-exports out6.dll | FileCheck --check-prefix=FORWARD-EXPORT %s
63 RUN: llvm-readobj --coff-exports out7.dll | FileCheck --check-prefix=ORD %s
89 EXPORTS
94 EXPORTS
H A Ddllexport.s6 # RUN: llvm-readobj --coff-exports %t.dll | FileCheck -check-prefix DECORATED-EXPORTS %s
25 # DECORATED-EXPORTS: Name: @fastcall@8
26 # DECORATED-EXPORTS: Name: _stdcall@8
27 # DECORATED-EXPORTS: Name: _underscored
28 # DECORATED-EXPORTS: Name: vectorcall@@8
H A Dexport-all.s6 # RUN: llvm-readobj --coff-exports %t.dll | grep Name: | FileCheck %s
7 # RUN: llvm-readobj --coff-exports %t.dll | FileCheck %s --check-prefix=CHECK-RVA
61 # RUN: llvm-readobj --coff-exports %t.dll | FileCheck -check-prefix=CHECK2 %s
65 # RUN: llvm-readobj --coff-exports %t.exe | FileCheck -check-prefix=CHECK2 %s
75 # CHECK2-DEF: EXPORTS
95 # CHECK-EXCLUDE: EXPORTS
106 # CHECK-WHOLEARCHIVE: EXPORTS
118 # CHECK-IMPLIB: EXPORTS
/llvm-project/compiler-rt/test/profile/
H A Dinstrprof-darwin-exports.c4 // when using an exports list.
9 // RUN: echo "_main" > %t.exports
10 // RUN: %clang_pgogen -Werror -Wl,-exported_symbols_list,%t.exports -o %t %s 2>&1 | tee %t.log
11 // RUN: %clang_profgen -Werror -fcoverage-mapping -Wl,-exported_symbols_list,%t.exports -o %t %s 2>…
16 // RUN: %clang -Werror -Wl,-exported_symbols_list,%t.exports --coverage -o %t.gcov %s | tee -a %t.g…
24 // RUN: nm -jUg %t.default | grep -v __mh_execute_header > %t.default.exports
25 // RUN: nm -jUg %t | grep -v __mh_execute_header > %t.clang.exports
26 // RUN: diff %t.default.exports %t.clang.exports
31 // RUN: nm -jUg %t.gcov | grep -v __mh_execute_header > %t.gcov.exports
32 // RUN: nm -jUg %t.gcov.default | grep -v __mh_execute_header > %t.gcov.default.exports
[all …]
/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUExportClustering.cpp10 /// exports.
44 // Position exports should occur as soon as possible in the shader in sortChain()
45 // for optimal performance. This moves position exports before in sortChain()
46 // other exports while preserving the order within different export in sortChain()
59 static void buildCluster(ArrayRef<SUnit *> Exports, ScheduleDAGInstrs *DAG) { in buildCluster() argument
60 SUnit *ChainHead = Exports.front(); in buildCluster()
63 for (unsigned Idx = 0, End = Exports.size() - 1; Idx < End; ++Idx) { in buildCluster()
64 SUnit *SUa = Exports[Idx]; in buildCluster()
65 SUnit *SUb = Exports[Idx + 1]; in buildCluster()
75 // New barrier edge ordering exports in buildCluster()
[all …]
/llvm-project/llvm/test/tools/llvm-objdump/MachO/
H A Dbad-trie.test1 RUN: not llvm-objdump --macho --exports-trie %p/Inputs/macho-trie-bad-kind 2>&1 | FileCheck --check-prefix BAD_KIND %s
4 RUN: not llvm-objdump --macho --exports-trie %p/Inputs/macho-trie-bad-export-info-malformed-uleb128 2>&1 | FileCheck --check-prefix MALFORMED_ULEB128 %s
7 RUN: not llvm-objdump --macho --exports-trie %p/Inputs/macho-trie-bad-export-info-malformed-uleb128_too_big 2>&1 | FileCheck --check-prefix MALFORMED_ULEB128_TOO_BIG %s
10 RUN: not llvm-objdump --macho --exports-trie %p/Inputs/macho-trie-export-info-size-too-big 2>&1 | FileCheck --check-prefix EXPORT_INFO_SIZE_TOO_BIG %s
13 RUN: not llvm-objdump --macho --exports-trie %p/Inputs/macho-trie-children-count-byte 2>&1 | FileCheck --check-prefix CHILDREN_COUNT_BYTE %s
16 RUN: not llvm-objdump --macho --exports-trie %p/Inputs/macho-trie-import-name-start 2>&1 | FileCheck --check-prefix IMPORT_NAME_START %s
19 RUN: not llvm-objdump --macho --exports-trie %p/Inputs/macho-trie-import-name-end 2>&1 | FileCheck --check-prefix IMPORT_NAME_END %s
22 RUN: not llvm-objdump --macho --exports-trie %p/Inputs/macho-trie-edge-string-end 2>&1 | FileCheck --check-prefix EDGE_STRING_END %s
25 RUN: not llvm-objdump --macho --exports-trie %p/Inputs/macho-trie-not-export-node 2>&1 | FileCheck --check-prefix NOT_EXPORT_NODE %s
28 RUN: not llvm-objdump --macho --exports
[all...]
H A Dexports-trie.test1 # RUN: llvm-objdump --macho --exports-trie --arch x86_64 \
2 # RUN: %p/Inputs/exports-trie.macho-x86_64 2>/dev/null | FileCheck %s --match-full-lines --strict…
3 # RUN: llvm-objdump --macho --exports-trie --arch x86_64 \
6 # CHECK:{{.*}}exports-trie.macho-x86_64:
8 # CHECK-NEXT:Exports trie:
/llvm-project/llvm/cmake/modules/
H A DLLVMDistributionSupport.cmake6 # - The generated CMake exports file for ${project} is called ${project}Targets
7 # (except for LLVM where it's called ${project}Exports for legacy reasons).
8 # - The build target for the CMake exports is called ${project}-cmake-exports
9 # (except LLVM where it's just cmake-exports).
11 # project has any exports for a particular ${distribution} (where ${PROJECT}
113 # it's named ${project}{distribution}Exports for legacy reasons). Also set the
115 # having exports for the distribution.
128 set(suffix "Exports") # legacy
159 set(suffix "Exports.cmake") # legacy
176 # Create the install commands and targets for the distributions' CMake exports.
[all …]
/llvm-project/openmp/runtime/tools/
H A Dgenerate-def.py23 self.exports = {}
36 keys = list(self.exports.keys())
38 info = self.exports[entry]
47 self.exports[newentry] = {
110 if entry in dllexports.exports:
157 dllexports.exports[entry] = {
174 """Using dllexports data, write the exports to file, f"""
177 f.write("EXPORTS\n")
178 for entry in sorted(list(dllexports.exports.keys())):
179 info = dllexports.exports[entry]
/llvm-project/openmp/runtime/cmake/
H A DLibompExports.cmake12 # Copy library and header files into the exports/ subdirectory after library build
17 # final export directory: exports/lin_32e.deb.s1/lib
30 # Set exports locations
49 set(LIBOMP_EXPORTS_DIR "${LIBOMP_BASE_DIR}/exports")
56 # Put headers in exports/ directory post build
78 # Copy OpenMP library into exports/ directory post build
92 # Copy Windows import library into exports/ directory post build
/llvm-project/llvm/tools/llvm-shlib/
H A Dgen-msvc-exports.py1 # ===- gen-msvc-exports.py - Generate C API export file -------*- python -*--===#
9 # Generate an export file from a list of given LIB files. This only exports symbols
10 # that start with LLVM, so it only exports the LLVM C API.
17 # python C:\Path\To\gen-msvc-exports.py --nm ..\bin\llvm-nm.exe LLVM*.lib
68 # For each lib get the LLVM* functions it exports.
83 parser = argparse.ArgumentParser("gen-msvc-exports")
93 "-o", "--output", help="output filename", default="LLVM-C.exports"
H A DCMakeLists.txt3 # commandline. By default the shared library only exports the LLVM C API.
101 # nm ${LIB_PATH} | awk "/T _LLVM/ { print $3 }" | sort -u | sed -e "s/^_//g" > ${LIB_PATH}.exports
103 set(LLVM_EXPORTED_SYMBOL_FILE ${LLVM_BINARY_DIR}/libllvm-c.exports)
108 set(LIB_EXPORTS_PATH ${LIB_NAME}.exports)
131 # Build the LLVM-C.dll library that exports the C API.
174 # Generate the exports file dynamically.
175 set(GEN_SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/gen-msvc-exports.py)
177 set(LLVM_EXPORTED_SYMBOL_FILE ${LLVM_BINARY_DIR}/${CMAKE_CFG_INTDIR}/libllvm-c.exports)
/llvm-project/llvm/test/Object/
H A Dobjdump-export-list.test1 RUN: llvm-objdump --macho --exports-trie %p/Inputs/macho-no-exports.dylib | FileCheck %s
4 CHECK: macho-no-exports.dylib
5 CHECK: Exports trie:
/llvm-project/clang/test/Driver/
H A Daix-ld.c706 // RUN: | FileCheck --check-prefix=CHECK-LD32-SHARED-EXPORTS %s
714 // RUN: | FileCheck --check-prefix=CHECK-LD32-SHARED-EXPORTS %s
722 // RUN: | FileCheck --check-prefix=CHECK-LD32-SHARED-EXPORTS %s
724 // CHECK-LD32-SHARED-EXPORTS: "-cc1" "-triple" "powerpc-ibm-aix7.1.0.0"
725 // CHECK-LD32-SHARED-EXPORTS: "-resource-dir" "[[RESOURCE_DIR:[^"]+]]"
726 // CHECK-LD32-SHARED-EXPORTS: "-isysroot" "[[SYSROOT:[^"]+]]"
727 // CHECK-LD32-SHARED-EXPORTS-NOT: "{{.*}}llvm-nm"
728 // CHECK-LD32-SHARED-EXPORTS-NOT: "-X"
729 // CHECK-LD32-SHARED-EXPORTS-NOT: "32"
730 // CHECK-LD32-SHARED-EXPORTS: "{{.*}}ld{{(.exe)?}}"
[all …]
/llvm-project/llvm/unittests/TextAPI/
H A DTextStubV3Tests.cpp55 "exports:\n" in TEST()
58 " re-exports: [ /usr/lib/libfoo.dylib ]\n" in TEST()
104 ExportedSymbolSeq Exports; in TEST() local
108 Exports.emplace_back( in TEST()
112 llvm::sort(Exports); in TEST()
114 EXPECT_EQ(std::size(TBDv3Symbols), Exports.size()); in TEST()
116 std::equal(Exports.begin(), Exports.end(), std::begin(TBDv3Symbols))); in TEST()
129 "exports:\n" in TEST()
132 " re-exports: [ /usr/lib/libfoo.dylib,\n" in TEST()
151 "exports:\n" in TEST()
[all …]

12345678910>>...18