Home
last modified time | relevance | path

Searched refs:undefined (Results 1 – 25 of 760) sorted by relevance

12345678910>>...31

/llvm-project-15.0.7/llvm/test/MC/Hexagon/
H A Drelocations.s5 { jump #undefined }
25 .word undefined
29 .half undefined
34 .byte undefined
65 { jump ##undefined }
69 { r0 = ##undefined }
73 { jump ##undefined }
89 jump undefined@plt
97 .word undefined@got
101 .half undefined@got
[all …]
/llvm-project-15.0.7/llvm/test/MC/Disassembler/ARM/
H A Dvmrs-vmsr-invalid.txt4 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
8 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
12 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
16 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
20 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
24 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
28 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
32 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
36 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
40 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
[all …]
H A Dunpredictable-AExtI-arm.txt4 # CHECK-WARN: potentially undefined
9 # CHECK-WARN: potentially undefined
14 # CHECK-WARN: potentially undefined
19 # CHECK-WARN: potentially undefined
24 # CHECK-WARN: potentially undefined
29 # CHECK-WARN: potentially undefined
34 # CHECK-WARN: potentially undefined
39 # CHECK-WARN: potentially undefined
44 # CHECK-WARN: potentially undefined
49 # CHECK-WARN: potentially undefined
[all …]
H A Dthumbv8.1m.s42 # ERROR: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
87 # ERROR: [[@LINE-1]]:2: warning: potentially undefined instruction encoding
90 # ERROR: [[@LINE-1]]:2: warning: potentially undefined instruction encoding
93 # ERROR: [[@LINE-1]]:2: warning: potentially undefined instruction encoding
96 # ERROR: [[@LINE-1]]:2: warning: potentially undefined instruction encoding
99 # ERROR: [[@LINE-1]]:2: warning: potentially undefined instruction encoding
102 # ERROR: [[@LINE-1]]:2: warning: potentially undefined instruction encoding
105 # ERROR: [[@LINE-1]]:2: warning: potentially undefined instruction encoding
108 # ERROR: [[@LINE-1]]:2: warning: potentially undefined instruction encoding
111 # ERROR: [[@LINE-1]]:2: warning: potentially undefined instruction encoding
[all …]
H A Dmve-scalar-shift.txt7 # CHECK-NOMVE: [[@LINE-2]]:2: warning: potentially undefined instruction
11 # CHECK-NOMVE: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
15 # CHECK-NOMVE: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
19 # CHECK-NOMVE: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
23 # CHECK-NOMVE: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
27 # CHECK-NOMVE: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
39 # CHECK-NOMVE: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
43 # CHECK-NOMVE: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
47 # CHECK-NOMVE: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
51 # CHECK-NOMVE: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
[all …]
H A Dmve-scalar-shift-unpredictable.txt6 # STDERR: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
10 # STDERR: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
14 # STDERR: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
18 # STDERR: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
22 # STDERR: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
26 # STDERR: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
30 # STDERR: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
34 # STDERR: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
38 # STDERR: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
42 # STDERR: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
H A Dunpredictable-AI1cmp-arm.txt3 # CHECK: potentially undefined
7 # CHECK: potentially undefined
11 # CHECK: potentially undefined
15 # CHECK: potentially undefined
19 # CHECK: potentially undefined
23 # CHECK: potentially undefined
27 # CHECK: potentially undefined
H A Dunpredictable-swp-arm.txt3 # CHECK: potentially undefined
7 # CHECK: potentially undefined
11 # CHECK: potentially undefined
15 # CHECK: potentially undefined
19 # CHECK: potentially undefined
23 # CHECK: potentially undefined
H A Dunpredictable-LDR-arm.txt3 # CHECK: potentially undefined
7 # CHECK: potentially undefined
11 # CHECK: potentially undefined
15 # CHECK: potentially undefined
19 # CHECK: potentially undefined
/llvm-project-15.0.7/llvm/test/Object/
H A Dnm-darwin-m.test17 test2: (undefined) external __i
42 test3: (undefined) external _atsVersSuffix (from libATS)
43 test3: (undefined) external _foo (from Foo)
44 test3: (undefined) external _fooPath (from FooPath)
47 test3: (undefined) external _fooSuffix (from FooSuffix)
48 test3: (undefined) external _fooVers (from FooVers)
49 test3: (undefined) external _foo_bar (from libfoo_bar)
52 test3: (undefined) external _qt (from QT)
53 test3: (undefined) external _qtPath (from QTPath)
54 test3: (undefined) external _x (from libx)
[all …]
/llvm-project-15.0.7/lld/test/MachO/
H A Dtreat-undef-sym.s7 # RUN: not %lld -undefined bogus -o /dev/null %t/live.o 2>&1 | \
9 # RUN: not %lld -undefined error -o /dev/null %t/live.o 2>&1 | \
12 # RUN: not %lld -undefined warning -o /dev/null %t/live.o 2>&1 | \
14 # RUN: not %lld -undefined suppress -o /dev/null %t/live.o 2>&1 | \
29 # RUN: %lld -flat_namespace -lSystem -undefined dynamic_lookup -o \
42 # ERROR: error: undefined symbol: _bar
46 # INVAL-WARNING-NEXT: error: undefined symbol: _bar
49 # INVAL-SUPPRESS-NEXT: error: undefined symbol: _bar
51 # WARNING: warning: undefined symbol: _bar
54 # UNKNOWN: unknown -undefined TREATMENT 'bogus'
[all …]
H A Ddemangle.s5 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %t/undefined-symbol.s -o %t/undefined-symb…
8 # RUN: not %lld %t/undefined-symbol.o -o /dev/null 2>&1 | FileCheck --check-prefix=UNDEF %s
9 # RUN: not %lld -demangle %t/undefined-symbol.o -o /dev/null 2>&1 | \
15 # UNDEF: undefined symbol: __Z1fv
16 # DEMANGLE-UNDEF: undefined symbol: f()
24 #--- undefined-symbol.s
/llvm-project-15.0.7/llvm/test/MC/Disassembler/AArch64/
H A Dbasic-a64-unpredictable.txt10 #CHECK: warning: potentially undefined instruction encoding
15 #CHECK: warning: potentially undefined instruction encoding
23 #CHECK: warning: potentially undefined instruction encoding
27 #CHECK: warning: potentially undefined instruction encoding
35 #CHECK: warning: potentially undefined instruction encoding
39 #CHECK: warning: potentially undefined instruction encoding
49 # CHECK: warning: potentially undefined instruction encoding
54 # CHECK: warning: potentially undefined instruction encoding
59 # CHECK: warning: potentially undefined instruction encoding
75 # CHECK: warning: potentially undefined instruction encoding
[all …]
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dobjc-literal-comparison.m39 …if (obj == @"") return; // expected-warning{{direct comparison of a string literal has undefined b…
40 …if (obj != @"") return; // expected-warning{{direct comparison of a string literal has undefined b…
41 …if (@"" == obj) return; // expected-warning{{direct comparison of a string literal has undefined b…
63 …== @"") return; // expected-warning{{direct comparison of a string literal has undefined behavior}}
65 …== @"") return; // expected-warning{{direct comparison of a string literal has undefined behavior}}
66 …== @"") return; // expected-warning{{direct comparison of a string literal has undefined behavior}}
68 …if (@"" < @"") return; // expected-warning{{direct comparison of a string literal has undefined be…
69 …if (@"" > @"") return; // expected-warning{{direct comparison of a string literal has undefined be…
70 …if (@"" <= @"") return; // expected-warning{{direct comparison of a string literal has undefined b…
71 …if (@"" >= @"") return; // expected-warning{{direct comparison of a string literal has undefined b…
[all …]
/llvm-project-15.0.7/lld/test/COFF/
H A Dundefined-symbol-itanium-i386.s7 # NODEMANGLE: error: undefined symbol: __Z3fooi
8 # NODEMANGLE: error: undefined symbol: __Z3barPKc
9 # NODEMANGLE: error: undefined symbol: __imp___Z3bazv
10 # NODEMANGLE: error: undefined symbol: _Z3fooi
11 # NODEMANGLE: error: undefined symbol: __imp__cfunc
13 # CHECK: error: undefined symbol: foo(int)
17 # CHECK-NEXT: error: undefined symbol: bar(char const*)
21 # CHECK-NEXT: error: undefined symbol: __declspec(dllimport) baz()
24 # CHECK-NEXT: error: undefined symbol: _Z3fooi
27 # CHECK-NEXT: error: undefined symbol: __declspec(dllimport) _cfunc
H A Dundefined-symbol.s7 # NODEMANGLE: error: undefined symbol: ?foo@@YAHXZ
8 # NODEMANGLE: error: undefined symbol: ?bar@@YAHXZ
9 # NODEMANGLE: error: undefined symbol: __imp_?baz@@YAHXZ
10 # NODEMANGLE: error: undefined symbol: __imp_undecorated
12 # CHECK: error: undefined symbol: int __cdecl foo(void)
16 # CHECK-NEXT: error: undefined symbol: int __cdecl bar(void)
20 # CHECK-NEXT: error: undefined symbol: __declspec(dllimport) int __cdecl baz(void)
23 # CHECK-NEXT: error: undefined symbol: __declspec(dllimport) undecorated
H A Dundefined-symbol-itanium.s7 # NODEMANGLE: error: undefined symbol: _Z3fooi
8 # NODEMANGLE: error: undefined symbol: _Z3barPKc
9 # NODEMANGLE: error: undefined symbol: __imp__Z3bazv
11 # CHECK: error: undefined symbol: foo(int)
15 # CHECK-NEXT: error: undefined symbol: bar(char const*)
19 # CHECK-NEXT: error: undefined symbol: __declspec(dllimport) baz()
/llvm-project-15.0.7/lld/test/wasm/
H A Dundefined.ll2 ; RUN: wasm-ld --allow-undefined -o %t.wasm %t.o
4 ; Fails due to undefined 'foo'
5 ; RUN: not wasm-ld --undefined=baz -o %t.wasm %t.o 2>&1 | FileCheck %s
6 ; CHECK: error: {{.*}}.o: undefined symbol: foo
7 ; CHECK-NOT: undefined symbol: baz
9 ; Succeeds if we pass a file containing 'foo' as --allow-undefined-file.
11 ; RUN: wasm-ld --allow-undefined-file=%t.txt -o %t.wasm %t.o
14 ; RUN: wasm-ld --allow-undefined --export=xxx -o %t.wasm %t.o
18 ; Takes the address of the external foo() resulting in undefined external
H A Dunresolved-symbols.s3 ## Check that %t1.o contains undefined symbol undef_func.
6 # ERRUND: error: {{.*}}1.o: undefined symbol: undef_func
47 # IGNORE-NEXT: Name: undefined
55 ## --import-undefined should handle unresolved funtions symbols
57 # `--allow-undefined` should behave like `--import-undefined` +
59 # RUN: wasm-ld %t1.o -o %t3.wasm --import-undefined --unresolved-symbols=ignore-all
69 ## Check that --import-undefined reports unresolved data symbols.
70 # RUN: not wasm-ld %t1.o -o %t3.wasm --import-undefined --unresolved-symbols=report-all 2>&1 | File…
71 # IMPORTUNDEFINED-NOT: error: {{.*}}1.o: undefined symbol: undef_func
72 # IMPORTUNDEFINED: error: {{.*}}1.o: undefined symbol: undef_data
/llvm-project-15.0.7/lld/test/ELF/
H A Dallow-shlib-undefined.s5 # RUN: %p/Inputs/allow-shlib-undefined.s -o %t1.o
8 # RUN: ld.lld --allow-shlib-undefined %t.o %t.so -o /dev/null
9 # RUN: not ld.lld --no-allow-shlib-undefined %t.o %t.so -o /dev/null 2>&1 | FileCheck %s
10 # Executable defaults to --no-allow-shlib-undefined
14 # -shared defaults to --allow-shlib-undefined
20 # RUN: ld.lld --no-allow-shlib-undefined %t.o %t2.so -o /dev/null
25 # RUN: ld.lld -shared --allow-shlib-undefined %t1.o -o /dev/null
26 # RUN: ld.lld -shared --no-allow-shlib-undefined %t1.o -o /dev/null
44 # CHECK: error: undefined reference due to --no-allow-shlib-undefined: _unresolved
46 # CHECK2: error: undefined reference due to --no-allow-shlib-undefined: _unresolved
[all …]
H A Dundef.s13 # CHECK: error: undefined symbol: foo
17 # CHECK: error: undefined symbol: bar
21 # CHECK: error: undefined symbol: foo(int)
30 # CHECK: error: undefined symbol: foo(int)
34 # CHECK: error: undefined symbol: Pi
38 # CHECK: error: undefined symbol: D main
42 # CHECK: error: undefined symbol: a::main
46 # CHECK: error: undefined symbol: zed2
49 # CHECK: error: undefined symbol: zed3
53 # CHECK: error: undefined symbol: zed4
[all …]
H A Dundef-suggest-version.s6 ## For an unversioned undefined symbol, check we can suggest the symbol with the
11 # DEFAULT1: error: undefined symbol: bat
16 ## For a versioned undefined symbol, check we can suggest the symbol with the
21 # DEFAULT2: error: undefined symbol: bar@v2
26 ## For an unversioned undefined symbol, check we can suggest a symbol with
31 # HIDDEN1: error: undefined symbol: foo
36 # HIDDEN1-NEXT: error: undefined symbol: foo(int)
41 ## For a versioned undefined symbol, check we can suggest a symbol with
46 # HIDDEN2: error: undefined symbol: foo@v2
H A Dunresolved-symbols.s6 ## Check that %t2.o contains undefined symbol undef.
9 # UNDCHECK: error: undefined symbol: undef
21 ## case when --no-undefined specified.
24 # RUN: not ld.lld %t2.o -o /dev/null --unresolved-symbols=ignore-all --no-undefined 2>&1 | \
26 # ERRUND: error: undefined symbol: undef
30 # RUN: ld.lld %t1.o %t.so -o %t1_3 --allow-shlib-undefined --unresolved-symbols=ignore-all
36 ## --unresolved-symbols overrides a previous --allow-shlib-undefined.
37 # RUN: not ld.lld %t1.o %t.so -o /dev/null --allow-shlib-undefined --unresolved-symbols=ignore-in-o…
39 # SHLIB: error: undefined reference due to --no-allow-shlib-undefined: undef
45 # RUN: ld.lld %t1.o %t.so -o %t3_1 --allow-shlib-undefined --unresolved-symbols=ignore-in-shared-li…
/llvm-project-15.0.7/clang/test/Modules/Inputs/error/
H A Derror.h3 @import undefined;
7 - (undefined)method2;
8 undefined;
11 undefined
/llvm-project-15.0.7/lld/docs/
H A DWebAssembly.rst72 .. option:: --allow-undefined
74 Allow undefined symbols in linked binary. This is the legacy
76 ``--import-undefined``.
80 This is a more full featured version of ``--allow-undefined``.
93 trapping stub function in place of the undefined function.
114 .. option:: --import-undefined
116 Generate WebAssembly imports for undefined symbols, where possible. For
184 undefined symbol. It is then up to the runtime to provide such symbols.
188 they are expected to be undefined at static link time.
210 and use this for any direct references to an undefined weak function.
[all …]

12345678910>>...31