| /llvm-project-15.0.7/llvm/test/MC/Hexagon/ |
| H A D | relocations.s | 5 { 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 D | vmrs-vmsr-invalid.txt | 4 # 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 D | unpredictable-AExtI-arm.txt | 4 # 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 D | thumbv8.1m.s | 42 # 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 D | mve-scalar-shift.txt | 7 # 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 D | mve-scalar-shift-unpredictable.txt | 6 # 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 D | unpredictable-AI1cmp-arm.txt | 3 # 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 D | unpredictable-swp-arm.txt | 3 # 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 D | unpredictable-LDR-arm.txt | 3 # 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 D | nm-darwin-m.test | 17 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 D | treat-undef-sym.s | 7 # 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 D | demangle.s | 5 # 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 D | basic-a64-unpredictable.txt | 10 #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 D | objc-literal-comparison.m | 39 …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 D | undefined-symbol-itanium-i386.s | 7 # 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 D | undefined-symbol.s | 7 # 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 D | undefined-symbol-itanium.s | 7 # 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 D | undefined.ll | 2 ; 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 D | unresolved-symbols.s | 3 ## 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 D | allow-shlib-undefined.s | 5 # 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 D | undef.s | 13 # 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 D | undef-suggest-version.s | 6 ## 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 D | unresolved-symbols.s | 6 ## 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 D | error.h | 3 @import undefined; 7 - (undefined)method2; 8 undefined; 11 undefined
|
| /llvm-project-15.0.7/lld/docs/ |
| H A D | WebAssembly.rst | 72 .. 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 …]
|