Home
last modified time | relevance | path

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

12345678910>>...62

/external/llvm/test/MC/MachO/
Dsymbols-1.s1-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj -file-headers -s -r -t -macho-
2-mc -triple x86_64-apple-darwin10 %s -filetype=obj -o - | llvm-readobj -file-headers -s -r -t -mac…
20 // CHECK-X86_32: File: <stdin>
21 // CHECK-X86_32: Format: Mach-O 32-bit i386
22 // CHECK-X86_32: Arch: i386
23 // CHECK-X86_32: AddressSize: 32bit
24 // CHECK-X86_32: MachHeader {
25 // CHECK-X86_32: Magic: Magic (0xFEEDFACE)
26 // CHECK-X86_32: CpuType: X86 (0x7)
27 // CHECK-X86_32: CpuSubType: CPU_SUBTYPE_I386_ALL (0x3)
[all …]
Dvariable-exprs.s1 // RUN: llvm-mc -triple i386-apple-darwin10 %s -filetype=obj -o %t.o
2 // RUN: llvm-readobj -file-headers -s -sd -r -t -macho-segment -macho-dysymtab -macho-indirect-symb…
3 // RUN: FileCheck --check-prefix=CHECK-I386 < %t.dump %s
5 // RUN: llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -o %t.o
6 // RUN: llvm-readobj -file-headers -s -sd -r -t -macho-segment -macho-dysymtab -macho-indirect-symb…
7 // RUN: FileCheck --check-prefix=CHECK-X86_64 < %t.dump %s
46 Lt0_x = Lt0_a - Lt0_b
49 // CHECK-I386: File: <stdin>
50 // CHECK-I386: Format: Mach-O 32-bit i386
51 // CHECK-I386: Arch: i386
[all …]
Ddarwin-x86_64-reloc.s1 // RUN: llvm-mc -n -triple x86_64-apple-darwin9 %s -filetype=obj -o - | llvm-readobj -r --expand-re…
3 // These examples are taken from <mach-o/x86_64/reloc.h>.
24 .quad _foo - _bar
25 .quad _foo - _bar + 4
26 .long _foo - _bar
39 .quad _foo - L_pc
40 .quad _foo - L1
42 .quad L1 - _prev
52 // Make sure local label which overlaps with non-local one is assigned to the
60 addl L2_1 - L2_0, %eax
[all …]
Dx86_64-symbols.s1 // RUN: llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -o - | llvm-readobj -t | FileCheck %s
131 // CHECK: Symbols [
132 // CHECK-NEXT: Symbol {
133 // CHECK-NEXT: Name: D0 (139)
134 // CHECK-NEXT: Type: Section (0xE)
135 // CHECK-NEXT: Section: __text (0x1)
136 // CHECK-NEXT: RefType: UndefinedNonLazy (0x0)
137 // CHECK-NEXT: Flags [ (0x0)
138 // CHECK-NEXT: ]
139 // CHECK-NEXT: Value: 0x0
[all …]
/external/clang/test/Analysis/
Dmalloc-plist.c1 // RUN: rm -f %t
2 …: %clang_cc1 -analyze -fblocks -analyzer-checker=core,unix.Malloc -analyzer-output=plist -analyzer
3 // RUN: FileCheck -input-file %t %s
15 in++; // expected-warning {{leak}} in diagnosticTest()
21 A[0] = 0;// expected-warning {{leak}} in myArrayAllocation()
29 return;// expected-warning {{leak}} in reallocDiagnostics()
147 y--; in function_with_leak4()
195 } // expected-warning {{Potential leak of memory}} in testOnlyRefferToVisibleVariables()
206 my_malloc_into_struct(); // expected-warning {{Potential leak of memory}} in testMyMalloc()
209 // CHECK: <key>diagnostics</key>
[all …]
Dplist-output.m1--analyze %s -Xanalyzer -analyzer-checker=osx.cocoa.RetainCount -Xanalyzer -analyzer-config -Xanal…
2 // RUN: FileCheck --input-file=%t.plist %s
70 - (void) test;
74 - (void) test {
77 *p = 0xDEADBEEF; // expected-warning {{deference}}
82 // if the end-of-path node is an implicit statement, it may not have a valid
84 - (void)test2 {
98 *p = 0xDEADBEEF; // expected-warning {{dereference}}
170 - (void)test {
184 RDar13295437_f(sp->i);
[all …]
Dedges-new.mm1 … %clang -target x86_64-apple-darwin10 --analyze -Xclang -analyzer-config -Xclang path-diagnostics-
2 // RUN: FileCheck --input-file %t %s
4 //===----------------------------------------------------------------------===//
6 //===----------------------------------------------------------------------===//
39 - (instancetype) init;
40 - (instancetype)retain;
41 - (void)release;
47 //===----------------------------------------------------------------------===//
49 //===----------------------------------------------------------------------===//
108 //===----------------------------------------------------------------------===//
[all …]
Dauto-obj-dtors-cfg-output.cpp1 // RUN: %clang_cc1 -fcxx-exceptions -fexceptions -analyze -analyzer-checker=debug.DumpCFG %s > %t 2…
2 // RUN: FileCheck --input-file=%t %s
6 // CHECK: [B1 (ENTRY)]
7 // CHECK-NEXT: Succs (1): B0
8 // CHECK: [B0 (EXIT)]
9 // CHECK-NEXT: Preds (1): B1
12 // CHECK: [B1 (ENTRY)]
13 // CHECK-NEXT: Succs (1): B0
14 // CHECK: [B0 (EXIT)]
15 // CHECK-NEXT: Preds (1): B1
[all …]
Dplist-macros.cpp1 // RUN: %clang_cc1 -analyze -analyzer-checker=core,unix -analyzer-eagerly-assume -verify %s
2 …1 -analyze -analyzer-checker=core,unix -analyzer-eagerly-assume -analyzer-output=plist-multi-file
3 // RUN: FileCheck --input-file=%t.plist %s
12 y--; in noteOnMacro()
16 …delete x; // expected-warning {{Memory allocated by malloc() should be deallocated by free(), not … in noteOnMacro()
21 y++; // expected-warning {{Potential leak of memory pointed to by 'x'}} in macroIsFirstInFunction()
30 return *p; // expected-warning {{Dereference of null pointer}} in macroInExpression()
39 return *p; // expected-warning {{Dereference of null pointer}} in macroInExpressionNoNote()
47 return *p; // expected-warning {{Dereference of null pointer}} in macroWithArgInExpression()
56 multiNoteMacroWithError // expected-warning {{Dereference of null pointer}} in useMultiNoteMacroWithError()
[all …]
Dconditional-path-notes.c1 // RUN: %clang --analyze %s -Xanalyzer -analyzer-output=text -Xclang -verify
2 // RUN: %clang --analyze %s -Xanalyzer -analyzer-config -Xanalyzer path-diagnostics-alternate=false…
3 // RUN: FileCheck --input-file=%t %s
7 // expected-note@-1 {{Assuming 'p' is null}} in testCondOp()
8 // expected-note@-2 {{'?' condition is false}} in testCondOp()
9 // expected-note@-3 {{'x' initialized to a null pointer value}} in testCondOp()
10 *x = 1; // expected-warning{{Dereference of null pointer (loaded from variable 'x')}} in testCondOp()
11 // expected-note@-1 {{Dereference of null pointer (loaded from variable 'x')}} in testCondOp()
16 // expected-note@-1 {{Assuming 'p' is null}} in testCondProblem()
17 // expected-note@-2 {{Taking false branch}} in testCondProblem()
[all …]
Dinline-plist.c1 … %clang --analyze %s -fblocks -Xanalyzer -analyzer-output=text -Xanalyzer -analyzer-config -Xanaly…
2--analyze %s -fblocks -Xanalyzer -analyzer-config -Xanalyzer suppress-null-return-paths=false -Xan…
3 // RUN: FileCheck -input-file %t %s
14 // expected-note@-1 {{Assuming 'x' is equal to 0}} in foo()
15 // expected-note@-2 {{Taking false branch}} in foo()
18 return 5/x; // expected-warning{{Division by zero}} expected-note{{Division by zero}} in foo()
23 …*p = 0xDEADBEEF; // expected-warning{{Dereference of null pointer (loaded from variable 'p')}} exp… in has_bug()
28 // expected-note@-1 {{Passing null pointer value via 1st parameter 'p'}} in test_has_bug()
29 // expected-note@-2 {{Calling 'has_bug'}} in test_has_bug()
33 …*p = 0xDEADBEEF; // expected-warning{{Dereference of null pointer (loaded from variable 'p')}} exp… in triggers_bug()
[all …]
Dretain-release.m1 // RUN: rm -f %t.objc.plist %t.objcpp.plist
2-triple x86_64-apple-darwin10 -analyze -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,o…
3-triple x86_64-apple-darwin10 -analyze -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,o…
4 // FIXLATER: cat %t.objc.plist ; FileCheck --input-file=%t.objc.plist %s
5 // FIXLATER: cat %t.objcpp.plist ; FileCheck --input-file=%t.objcpp.plist %s
32 //===----------------------------------------------------------------------===//
33 // The following code is reduced using delta-debugging from Mac OS X headers:
43 //===----------------------------------------------------------------------===//
124 - (BOOL)isEqual:(id)object;
125 - (id)retain;
[all …]
/external/clang/test/Index/
Dcomplete-call.cpp97 // RUN: c-index-test -code-completion-at=%s:47:9 %s | FileCheck -check-prefix=CHECK-CC1 %s
98 // CHECK-CC1: OverloadCandidate:{ResultType void}{Text foo_1}{LeftParen (}{RightParen )} (1)
99 // CHECK-CC1: Completion contexts:
100 // CHECK-CC1-NEXT: Any type
101 // CHECK-CC1-NEXT: Any value
102 // CHECK-CC1-NEXT: Enum tag
103 // CHECK-CC1-NEXT: Union tag
104 // CHECK-CC1-NEXT: Struct tag
105 // CHECK-CC1-NEXT: Class name
106 // CHECK-CC1-NEXT: Nested name specifier
[all …]
/external/clang/test/Analysis/inlining/
Dpath-notes.cpp1 …_cc1 -analyze -analyzer-checker=core -analyzer-output=text -analyzer-config c++-inlining=destructo…
2-analyze -analyzer-checker=core -analyzer-output=plist-multi-file -analyzer-config c++-inlining=de…
3 // RUN: FileCheck --input-file=%t.plist %s
8 *p = 1; // expected-warning {{Dereference of null pointer (loaded from variable 'p')}} in use()
9 // expected-note@-1 {{Dereference of null pointer (loaded from variable 'p')}} in use()
14 // expected-note@-1 {{Passing null pointer value via 1st parameter 'p'}} in Foo()
15 // expected-note@-2 {{Calling 'Foo::use'}} in Foo()
25 // expected-note@-1 {{Passing null pointer value via 1st parameter 'p'}} in ~Bar()
26 // expected-note@-2 {{Calling constructor for 'Foo'}} in ~Bar()
33 // expected-note@-1 {{Null pointer value stored to 'globalPtr'}} in test()
[all …]
Dpath-notes.c1 // RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-output=text -analyzer-config suppress-
2-analyze -analyzer-checker=core -analyzer-output=plist-multi-file -analyzer-config suppress-null-r…
3 // RUN: FileCheck --input-file=%t.plist %s
7 // expected-note@-1 {{Null pointer value stored to 'a'}} in zero()
12 // expected-note@-1 {{Calling 'zero'}} in testZero()
13 // expected-note@-2 {{Returning from 'zero'}} in testZero()
14 *a = 1; // expected-warning{{Dereference of null pointer}} in testZero()
15 // expected-note@-1 {{Dereference of null pointer (loaded from variable 'a')}} in testZero()
20 // expected-note@-1 + {{Assuming 'a' is null}} in testCheck()
21 // expected-note@-2 + {{Taking false branch}} in testCheck()
[all …]
Dpath-notes.m1-analyze -analyzer-checker=core,osx.cocoa.NilArg,osx.cocoa.RetainCount -analyzer-output=text -anal…
2-analyze -analyzer-checker=core,osx.cocoa.NilArg,osx.cocoa.RetainCount -analyzer-output=plist-mult…
3 // RUN: FileCheck --input-file=%t.plist %s
27 - (id)copyWithZone:(NSZone *)zone;
30 - (id)mutableCopyWithZone:(NSZone *)zone;
33 - (void)encodeWithCoder:(NSCoder *)aCoder;
42 - (id)init;
44 - (id)autorelease;
48 - (NSUInteger)count;
49 - (id)objectAtIndex:(NSUInteger)index;
[all …]
/external/llvm/test/CodeGen/PowerPC/
Dvsx.ll1 ; RUN: llc -mcpu=pwr7 -mtriple=powerpc64-unknown-linux-gnu -mattr=+vsx < %s | FileCheck %s
2 ; RUN: llc -mcpu=pwr7 -mtriple=powerpc64-unknown-linux-gnu -mattr=+vsx < %s | FileCheck -check-pref…
3 ; RUN: llc -mcpu=pwr7 -mtriple=powerpc64-unknown-linux-gnu -mattr=+vsx -fast-isel -O0 < %s | FileCh…
4 ; RUN: llc -mcpu=pwr7 -mtriple=powerpc64-unknown-linux-gnu -mattr=+vsx -fast-isel -O0 < %s | FileCh…
5 ; RUN: llc -mcpu=pwr8 -mtriple=powerpc64le-unknown-linux-gnu -mattr=+vsx < %s | FileCheck -check-pr…
12 ; CHECK-LABEL: @test1
13 ; CHECK: xsmuldp 1, 1, 2
14 ; CHECK: blr
16 ; CHECK-LE-LABEL: @test1
17 ; CHECK-LE: xsmuldp 1, 1, 2
[all …]
/external/clang/test/Analysis/diagnostics/
Dundef-value-param.c1 // RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-output=text -verify %s
2 …RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-output=plist-multi-file -analyzer-config…
3 // RUN: FileCheck --input-file=%t.plist %s
13 //expected-note@-1{{Assuming 'c' is not equal to 0}} in foo()
14 //expected-note@-2{{Taking true branch}} in foo()
20 int xx; //expected-note {{'xx' declared without an initial value}} in use()
23 //expected-note@-1{{Calling 'foo'}} in use()
24 //expected-note@-2{{Returning from 'foo'}} in use()
26 return xx+3; //expected-warning{{The left operand of '+' is a garbage value}} in use()
27 //expected-note@-1{{The left operand of '+' is a garbage value}} in use()
[all …]
/external/llvm/test/MC/MachO/AArch64/
Ddarwin-ARM64-reloc.s1 ; RUN: llvm-mc -n -triple arm64-apple-darwin10 %s -filetype=obj -o - | llvm-readobj -r --expand-rel…
24 .quad _foo - _bar
25 .quad _foo - _bar + 4
27 .long _foo - _bar
30 .long _foo@got - .
37 ; CHECK: Relocations [
38 ; CHECK-NEXT: Section __text {
39 ; CHECK-NEXT: Relocation {
40 ; CHECK-NEXT: Offset: 0x24
41 ; CHECK-NEXT: PCRel: 1
[all …]
/external/clang/test/Layout/
Dms-x86-basic-layout.cpp1 // RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple i686-pc-win32 -fms-extensions -fdump-record-la…
3 // RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple x86_64-pc-win32 -fms-extensions -fdump-record-
4 // RUN: | FileCheck %s -check-prefix CHECK-X64
40 // CHECK: *** Dumping AST Record Layout
41 // CHECK: *** Dumping AST Record Layout
42 // CHECK: *** Dumping AST Record Layout
43 // CHECK-NEXT: 0 | struct TestF0
44 // CHECK-NEXT: 0 | struct A4 (base)
45 // CHECK-NEXT: 0 | int a
46 // CHECK-NEXT: 4 | (TestF0 vbtable pointer)
[all …]
/external/llvm/test/MC/ARM/
Ddirective-eabi_attribute.s1 @ RUN: llvm-mc -triple armv7-elf -filetype asm -o - %s | FileCheck %s
2 @ RUN: llvm-mc < %s -triple armv7-unknown-linux-gnueabi -filetype=obj -o - \
3 @ RUN: | llvm-readobj -arm-attributes | FileCheck %s --check-prefix=CHECK-OBJ
9 @ CHECK: .eabi_attribute 67, "2.09"
10 @ Tag_conformance should be be emitted first in a file-scope
11 @ sub-subsection of the first public subsection of the attributes
13 @ CHECK-OBJ: Tag: 67
14 @ CHECK-OBJ-NEXT: TagName: conformance
15 @ CHECK-OBJ-NEXT: Value: 2.09
16 .eabi_attribute Tag_CPU_raw_name, "Cortex-A9"
[all …]
/external/llvm/test/MC/SystemZ/
Dinsn-bad.s2 # RUN: not llvm-mc -triple s390x-linux-gnu -mcpu=z10 < %s 2> %t
5 #CHECK: error: invalid operand
6 #CHECK: a %r0, -1
7 #CHECK: error: invalid operand
8 #CHECK: a %r0, 4096
10 a %r0, -1
13 #CHECK: error: invalid operand
14 #CHECK: adb %f0, -1
15 #CHECK: error: invalid operand
16 #CHECK: adb %f0, 4096
[all …]
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/
Dlstm_asym_attr.mlir1 // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_to_string - | FileChec…
3 …2>, tensor<4xf32>, tensor<4xf32>, tensor<4xf32>, tensor<4xf32>, tensor<4xf32>) -> tensor<1x4xf32> {
4 // CHECK: {
5 // CHECK-NEXT: version: 3,
6 // CHECK-NEXT: operator_codes: [ {
7 // CHECK-NEXT: deprecated_builtin_code: 16,
8 // CHECK-NEXT: version: 1,
9 // CHECK-NEXT: builtin_code: LSTM
10 // CHECK-NEXT: } ],
11 // CHECK-NEXT: subgraphs: [ {
[all …]
Dlstm.mlir1 // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_to_string - | FileChec…
3 …2>, tensor<4xf32>, tensor<4xf32>, tensor<4xf32>, tensor<4xf32>, tensor<4xf32>) -> tensor<1x4xf32> {
4 // CHECK: {
5 // CHECK-NEXT: version: 3,
6 // CHECK-NEXT: operator_codes: [ {
7 // CHECK-NEXT: deprecated_builtin_code: 16,
8 // CHECK-NEXT: version: 1,
9 // CHECK-NEXT: builtin_code: LSTM
10 // CHECK-NEXT: } ],
11 // CHECK-NEXT: subgraphs: [ {
[all …]
/external/llvm/test/tools/llvm-readobj/
Dbigobj.test1 RUN: llvm-readobj --file-headers --sections --symbols --relocations %p/Inputs/bigobj.coff-x86-64 | …
3 CHECK: File: {{(.*[/\\])?}}bigobj.coff-x86-64
4 CHECK-NEXT: Format: COFF-x86-64
5 CHECK-NEXT: Arch: x86_64
6 CHECK-NEXT: AddressSize: 64bit
7 CHECK-NEXT: ImageFileHeader {
8 CHECK-NEXT: Machine: IMAGE_FILE_MACHINE_AMD64 (0x8664)
9 CHECK-NEXT: SectionCount: 3
10 CHECK-NEXT: TimeDateStamp: 1970-01-01 00:00:00 (0x0)
11 CHECK-NEXT: PointerToSymbolTable: 0xB0
[all …]

12345678910>>...62