Home
last modified time | relevance | path

Searched +full:version +full:- +full:check (Results 1 – 25 of 1153) sorted by relevance

12345678910>>...47

/llvm-project/clang/test/Driver/
H A Ddarwin-version.c1 // RUN: %clang -target armv6-apple-darwin9 -c %s -### 2>&1 | \
2 // RUN: FileCheck --check-prefix=CHECK
[all...]
H A Dmsc-version.c2 // Verify -fms-compatibility-version parsing
5 …ang --target=i686-windows -fms-compatibility -fms-compatibility-version=14 -dM -E - </dev/null -o
7 // CHECK-MSC-VERSION-MAJOR: _MSC_BUILD 1
8 // CHECK-MSC-VERSION-MAJOR: _MSC_FULL_VER 140000000
9 // CHECK-MSC-VERSION-MAJOR: _MSC_VER 1400
11--target=i686-windows -fms-compatibility -fms-compatibility-version=15.00 -dM -E - </dev/null -o -
13 // CHECK-MSC-VERSION-MAJOR-MINOR: _MSC_BUILD 1
14 // CHECK-MSC-VERSION-MAJOR-MINOR: _MSC_FULL_VER 150000000
15 // CHECK-MSC-VERSION-MAJOR-MINOR: _MSC_VER 1500
17--target=i686-windows -fms-compatibility -fms-compatibility-version=15.00.20706 -dM -E - </dev/nul…
[all …]
H A Dhip-code-object-version.hip1 // Check bundle ID for code object version 4.
3 // RUN: not %clang -### --target=x86_64-linux-gnu \
4 // RUN: -mcode-object-versio
[all...]
H A Ddarwin-ld.c1 // Check that ld gets arch_multiple.
3 // RUN: %clang -target i386-apple-darwin9 -arch i386 -arch x86_64 %s -### -o foo 2> %t.log
4 // RUN: grep '".*ld.*" .*"-arch_multiple" "-final_output" "foo"' %t.log
7 // RUN: %clang -target i386-apple-darwin9 -### -g %s -o BAR 2> %t.log
8 // RUN: grep -E '".*dsymutil(\.exe)?" "-o" "BAR.dSYM" "BAR"' %t.log
9 // RUN: %clang -target i386-apple-darwin9 -### -g -filelist FOO %s -o BAR 2> %t.log
10 // RUN: grep -E '".*dsymutil(\.exe)?" "-o" "BAR.dSYM" "BAR"' %t.log
12 // Check linker changes that came with new linkedit format.
14 // RUN: %clang -target i386-apple-darwin9 -fuse-ld= -mlinker-version=400 -### -arch armv6 -miphoneo…
15 // RUN: %clang -target i386-apple-darwin9 -fuse-ld= -mlinker-version=400 -### -arch armv6 -miphoneo…
[all …]
H A Ddebug-default-version.c1 …: %clang -### -Werror --target=x86_64 -fdebug-default-version=4 -gdwarf-2 -S -o - %s 2>&1 | FileCh…
2 // RUN: %clang -### -Werror --target=x86_64 -gdwarf-3 -fdebug-default-version=4 -S -o - %s 2>&1 | F…
3 // RUN: %clang -### -Werror --target=x86_64 -gdwarf-4 -fdebug-default-version=2 -S -o - %s 2>&1 | F…
4 // RUN: %clang -### -Werror --target=x86_64 -gdwarf-5 -S -fdebug-default-version=2 -o - %s 2>&1 | F…
5 …RUN: %clang -### -Werror --target=x86_64 -fdebug-default-version=5 -g -S -o - %s 2>&1 | FileCheck …
6 // RUN: %clang -### -Werror --target=x86_64 -gdwarf -fdebug-default-version=2 -S -o - %s 2>&1 | Fil…
7 // RUN: %clang -### -Werror --target=x86_64 -fdebug-default-version=4 -S -o - %s 2>&1 | FileCheck %…
9 // Check which debug info formats we use on Windows. By default, in an MSVC
13 // RUN: %clang -### -Werror -target i686-pc-windows-msvc -fdebug-default-version=2 -gdwarf -S -o -
14 // RUN: | FileCheck %s --check-prefixes=DWARF2,NOCODEVIEW
[all …]
/llvm-project/clang/test/OpenMP/
H A Ddriver.c1 // REQUIRES: x86-registered-target
2 // Test that by default -fnoopenmp-use-tls is passed to frontend.
4 // RUN: %clang %s -### -o %t.o 2>&1 -fopenmp=libomp | FileCheck --chec
[all...]
/llvm-project/llvm/test/tools/llvm-rc/
H A Dmemoryflags.test1 ; RUN: llvm-rc -no-preprocess /FO %t -- %p/Inputs/memoryflags.rc
2 ; RUN: llvm-readobj %t | FileCheck %s
4 ; CHECK: Resource type (int): CURSOR (ID 1)
5 ; CHECK-NEXT: Resource name (int): 1
6 ; CHECK-NEXT: Data version: 0
7 ; CHECK-NEXT: Memory flags: 0x1050
8 ; CHECK: Resource type (int): GROUP_CURSOR (ID 12)
9 ; CHECK-NEXT: Resource name (int): 1
10 ; CHECK-NEXT: Data version: 0
11 ; CHECK-NEXT: Memory flags: 0x1050
[all …]
H A Dtag-icon-cursor.test1 ; RUN: rm -rf %t
4 ; RUN: llvm-rc -no-preprocess /FO %t/tag-icon-cursor.res -- %p/Inputs/tag-icon-cursor.rc
5 ; RUN: llvm-readobj %t/tag-icon-cursor.res | FileCheck %s
7 ; CHECK: Resource type (int): CURSOR (ID 1)
8 ; CHECK-NEXT: Resource name (int): 1
9 ; CHECK-NEXT: Data version: 0
10 ; CHECK-NEXT: Memory flags: 0x1010
11 ; CHECK-NEXT: Language ID: 1033
12 ; CHECK-NEXT: Version (major): 0
13 ; CHECK-NEXT: Version (minor): 0
[all …]
H A Dtag-stringtable.test1 ; RUN: llvm-rc -no-preprocess /FO %t -- %p/Inputs/tag-stringtable-basic.rc
2 ; RUN: llvm-readobj %t | FileCheck %s
4 ; CHECK: Resource type (int): STRINGTABLE (ID 6)
5 ; CHECK-NEXT: Resource name (int): 1
6 ; CHECK-NEXT: Data version: 0
7 ; CHECK-NEXT: Memory flags: 0x1030
8 ; CHECK-NEXT: Language ID: 1033
9 ; CHECK-NEXT: Version (major): 0
10 ; CHECK-NEXT: Version (minor): 32
11 ; CHECK-NEXT: Characteristics: 50
[all …]
/llvm-project/flang/test/Driver/
H A Dflang-openmp-version-macro.f901 ! Test predefined _OPENMP macro which denotes OpenMP version
3 ! RUN: %flang_fc1 -fopenmp -cpp -E %s | FileCheck %s --check-prefix=DEFAULT-OPENMP-VERSION
4 ! RUN: %flang_fc1 -fopenmp -fopenmp-version=11 -cpp -E %s | FileCheck %s --check-prefix=OPENMP-VERS…
5 ! RUN: %flang_fc1 -fopenmp -fopenmp-version=11 -cpp -E %s | FileCheck %s --check-prefix=OPENMP-VERS…
6 ! RUN: %flang_fc1 -fopenmp -fopenmp-version=20 -cpp -E %s | FileCheck %s --check-prefix=OPENMP-VERS…
7 ! RUN: %flang_fc1 -fopenmp -fopenmp-version=25 -cpp -E %s | FileCheck %s --check-prefix=OPENMP-VERS…
8 ! RUN: %flang_fc1 -fopenmp -fopenmp-version=30 -cpp -E %s | FileCheck %s --check-prefix=OPENMP-VERS…
9 ! RUN: %flang_fc1 -fopenmp -fopenmp-version=31 -cpp -E %s | FileCheck %s --check-prefix=OPENMP-VERS…
10 ! RUN: %flang_fc1 -fopenmp -fopenmp-version=40 -cpp -E %s | FileCheck %s --check-prefix=OPENMP-VERS…
11 ! RUN: %flang_fc1 -fopenmp -fopenmp-version=45 -cpp -E %s | FileCheck %s --check-prefix=OPENMP-VERS…
[all …]
H A Dbbc-openmp-version-macro.f901 ! Test predefined _OPENMP macro which denotes OpenMP version
3 ! RUN: bbc -fopenmp -o - %s | FileCheck %s --check-prefix=DEFAULT-OPENMP-VERSION
4 ! RUN: bbc -fopenmp -fopenmp-version=11 -o - %s | FileCheck %s --check-prefix=OPENMP-VERSION-11
5 ! RUN: bbc -fopenmp -fopenmp-version=11 -o - %s | FileCheck %s --check-prefix=OPENMP-VERSION-11
6 ! RUN: bbc -fopenmp -fopenmp-version=20 -o - %s | FileCheck %s --check-prefix=OPENMP-VERSION-20
7 ! RUN: bbc -fopenmp -fopenmp-version=25 -o - %s | FileCheck %s --check-prefix=OPENMP-VERSION-25
8 ! RUN: bbc -fopenmp -fopenmp-version=30 -o - %s | FileCheck %s --check-prefix=OPENMP-VERSION-30
9 ! RUN: bbc -fopenmp -fopenmp-version=31 -o - %s | FileCheck %s --check-prefix=OPENMP-VERSION-31
10 ! RUN: bbc -fopenmp -fopenmp-version=40 -o - %s | FileCheck %s --check-prefix=OPENMP-VERSION-40
11 ! RUN: bbc -fopenmp -fopenmp-version=45 -o - %s | FileCheck %s --check-prefix=OPENMP-VERSION-45
[all …]
/llvm-project/llvm/test/MC/MachO/ARM/
H A Dbuild-version-diagnostics.s1 // RUN: not llvm-mc -triple x86_64-apple-tvos %s 2>&1 | FileCheck %s
4 // CHECK-NOT: build-version-diagnostics.s:[[@LINE-1]]
7 // CHECK: build-version-diagnostics.s:[[@LINE-1]]:1: warning: .build_version macos used while targe…
8 // CHECK: build-version-diagnostics.s:[[@LINE-2]]:1: warning: overriding previous version directive
11 // CHECK: build-version-diagnostics.s:[[@LINE-1]]:16: error: platform name expected
14 // CHECK: build-version-diagnostics.s:[[@LINE-1]]:22: error: version number required, comma expected
17 // CHECK: build-version-diagnostics.s:[[@LINE-1]]:16: error: unknown platform name
20 // CHECK: build-version-diagnostics.s:[[@LINE-1]]:22: error: invalid OS major version number, integ…
23 // CHECK: build-version-diagnostics.s:[[@LINE-1]]:22: error: invalid OS major version number
25 .build_version macos,-1,1
[all …]
H A Dversion-min-diagnostics.s1 // RUN: not llvm-mc -triple i386-apple-darwin %s 2> %t
3 // RUN: not llvm-mc -triple x86_64-apple-darwin %s 2> %t
5 // RUN: not llvm-mc -triple armv7-apple-ios %s 2> %t
10 .ios_version_min 5,-1,1
15 .macosx_version_min 10,-1,1
20 .tvos_version_min 10,-1,1
25 .watchos_version_min 10,-1,1
30 // CHECK: error: invalid OS update version number
31 // CHECK: .ios_version_min 5,2,257
32 // CHECK: ^
[all …]
H A Dversion-min-diagnostics2.s1 // RUN: llvm-mc -triple i386-apple-ios %s 2>&1 | FileCheck %s --check-prefix=CHECK --check-prefix=I…
2 // RUN: llvm-mc -triple i386-apple-watchos %s 2>&1 | FileCheck %s --check-prefix=CHECK --check-pref…
3 // RUN: llvm-mc -triple i386-apple-tvos %s 2>&1 | FileCheck %s --check-prefix=CHECK --check-prefix=…
4 // RUN: llvm-mc -triple i386-apple-macosx %s 2>&1 | FileCheck %s --check-prefix=CHECK --check-prefi…
7 // WATCHOS: version-min-diagnostics2.s:[[@LINE-1]]:1: warning: .ios_version_min used while targetin…
8 // TVOS: version-min-diagnostics2.s:[[@LINE-2]]:1: warning: .ios_version_min used while targeting t…
9 // MACOSX: version-min-diagnostics2.s:[[@LINE-3]]:1: warning: .ios_version_min used while targeting…
10 // IOS-NOT: warning: .ios_version_min used while targeting
13 // WATCHOS: version-min-diagnostics2.s:[[@LINE-1]]:1: warning: .macosx_version_min used while targe…
14 // TVOS: version-min-diagnostics2.s:[[@LINE-2]]:1: warning: .macosx_version_min used while targetin…
[all …]
/llvm-project/mlir/test/Dialect/SPIRV/IR/
H A Davailability.mlir1 // RUN: mlir-opt -mlir-disable-threading -test-spirv-op-availability %s | FileCheck %s
3 // CHECK-LABE
[all...]
/llvm-project/llvm/test/tools/llvm-readobj/ELF/AMDGPU/
H A Delf-headers.test1 # RUN: yaml2obj %s -o %t -DABI_VERSION=0 -DFLAG_NAME=EF_AMDGPU_MACH_AMDGCN_GFX600
2 # RUN: llvm-readobj -h %t | FileCheck %s --check-prefixes=ALL,KNOWN-AB
[all...]
/llvm-project/llvm/test/CodeGen/SystemZ/
H A Dmemset-03.ll3 ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s
8 ; No bytes, i32 version.
10 ; CHECK-LABEL: f1:
11 ; CHECK-NOT: %r2
12 ; CHECK: br %r14
17 ; No bytes, i64 version.
19 ; CHECK-LABEL: f2:
20 ; CHECK-NOT: %r2
21 ; CHECK: br %r14
26 ; 1 byte, i32 version.
[all …]
H A Dmemset-04.ll3 ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s
8 ; No bytes, i32 version.
10 ; CHECK-LABEL: f1:
11 ; CHECK-NOT: %r2
12 ; CHECK: br %r14
13 call void @llvm.memset.p0.i32(ptr %dest, i8 -1, i32 0, i1 false)
17 ; No bytes, i64 version.
19 ; CHECK-LABEL: f2:
20 ; CHECK-NOT: %r2
21 ; CHECK: br %r14
[all …]
/llvm-project/lld/test/MachO/
H A Dobjc-imageinfo.s3 # RUN: rm -rf %t; split-file %s %t
6 ## ObjC class + category data in the file. LLD doesn't yet do this check, but
9 # RUN: cat %t/no-category-cls.s %t/foo-cls.s > %t/no-category-cls-1.s
10 # RUN: cat %t/with-category-cls.s %t/foo-cls.s > %t/with-category-cls-1.s
11 # RUN: cat %t/ignored-flags.s %t/foo-cls.s > %t/ignored-flags-1.s
12 # RUN: cat %t/invalid-version.s %t/foo-cls.s > %t/invalid-version-1.s
13 # RUN: cat %t/invalid-size.s %t/foo-cls.s > %t/invalid-size-1.s
14 # RUN: cat %t/swift-version-1.s %t/foo-cls.s > %t/swift-version-1-1.s
15 # RUN: cat %t/swift-version-2.s %t/foo-cls.s > %t/swift-version-2-1.s
17 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %t/no-category-cls-1.s -o %t/no-category
[all …]
H A Dspecial-symbol-ld-previous.s3 # RUN: rm -rf %t; split-file --no-leading-lines %s %t
5 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %t/ref_xxx.s -o %t/ref_xxx.o
6 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %t/ref_ySyy.s -o %t/ref_ySyy.o
7 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %t/ref_zzz.s -o %t/ref_zzz.o
9 ## Case 1: special symbol $ld$previous affects the install name / compatibility version
10 ## since the specified version 11.0.0 is within the affected range [3.0, 14.0).
12 # RUN: %lld -o %t/libfoo1.dylib %t/libLDPreviousInstallName.tbd %t/ref_xxx.o -dylib -platform_versi…
13 # RUN: llvm-objdump --macho --dylibs-used %t/libfoo1.dylib | FileCheck --check-prefix=CASE1 %s
14 # CASE1: /Old (compatibility version 1.2.3, current version 5.0.0)
16 ## Case 2: special symbol $ld$previous does not affect the install name / compatibility version
[all …]
/llvm-project/llvm/test/tools/llvm-readobj/ELF/
H A Dversym-invalid.test1 ## Test how llvm-readobj/llvm-readelf tools handle invalid SHT_GNU_versym sections.
3 ## Check that we report a warning when sh_link references a non-existent section.
5 # RUN: yaml2obj --docnum=1 -DLINK=0xFF %s -o %t1
6 # RUN: llvm-readelf -V %t1 2>&1 | FileCheck -DFILE=%t1 %s --check-prefix=GNU-INVALID-LINK
7 # RUN: llvm-readobj -V %t1 2>&1 | FileCheck -DFILE=%t1 %s --check-prefix=LLVM-INVALID-LINK
9 # GNU-INVALID-LINK: Version symbols section '.gnu.version' contains 1 entries:
10 # GNU-INVALID-LINK-NEXT: warning: '[[FILE]]': invalid section linked to SHT_GNU_versym section with…
11 # GNU-INVALID-LINK-NEXT: Addr: 0000000000000000 Offset: 0x000040 Link: 255 (<corrupt>)
13 # LLVM-INVALID-LINK: VersionSymbols [
14 # LLVM-INVALID-LINK-NEXT: warning: '[[FILE]]': invalid section linked to SHT_GNU_versym section wit…
[all …]
H A Dverneed-invalid.test1 ## Test how llvm-readobj/llvm-readelf tools handle invalid SHT_GNU_verneed sections.
4 ## a version listed in a SHT_GNU_verneed section. That version has an
7 # RUN: yaml2obj --docnum=1 %s -o %t1
8 # RUN: llvm-readelf -V %t1 | FileCheck %s --check-prefix=GNU-VERNEED-NAME
9 # RUN: llvm-readobj -V %t1 | FileCheck %s --check-prefix=LLVM-VERNEED-NAME
11 # GNU-VERNEED-NAME: Version symbols section '.gnu.version' contains 2 entries:
12 # GNU-VERNEED-NAME-NEXT: Addr: 0000000000200210 Offset: 0x000040 Link: 3 (.dynsym)
13 # GNU-VERNEED-NAME-NEXT: 000: 0 (*local*) 2 ()
15 # GNU-VERNEED-NAME: Version needs section '.gnu.version_r' contains 1 entries:
16 # GNU-VERNEED-NAME-NEXT: Addr: 0000000000200214 Offset: 0x000044 Link: 4 (.dynstr)
[all …]
/llvm-project/lld/test/ELF/linkerscript/
H A Dversion-script.s2 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
4 # RUN: echo "bar = foo; VERSION { V { global: foo; bar; local: *; }; }" > %t.script
5 # RUN: ld.lld -T %t.script -shared --no-undefined-version %t.o -o %t.so
6 # RUN: llvm-readobj -V %t.so | FileCheck %s
9 # RUN: echo "VERSION { V { global: foo; bar; local: *; }; }" >> %t.script
10 # RUN: ld.lld -T %t.script -shared --no-undefined-version %t.o -o %t.so
11 # RUN: llvm-readobj -V %t.so | FileCheck %s
13 ## Check that we are able to version symbols defined in script.
14 # CHECK: VersionSymbols [
15 # CHECK-NEXT: Symbol {
[all …]
/llvm-project/llvm/test/CodeGen/NVPTX/
H A Dsm-version.ll1 ; RUN: llc < %s -mtriple=nvptx -mcpu=sm_20 | FileCheck %s --check-prefix=SM20
2 ; RUN: llc < %s -mtriple=nvptx -mcpu=sm_21 | FileCheck %s --chec
[all...]
/llvm-project/llvm/test/tools/obj2yaml/ELF/
H A Dverdef-section.yaml1 ## Check how we dump SHT_GNU_verdef sections.
2 ## Check we don't dump the `Info` field when its value is equal
3 ## to the number of version definitions.
5 # RUN: yaml2obj %s -o %t
8 # CHECK: - Name: .gnu.version_d
9 # CHECK-NEXT: Type: SHT_GNU_verdef
10 # CHECK-NEX
[all...]

12345678910>>...47