| /llvm-project-15.0.7/clang/test/Analysis/diagnostics/ |
| H A D | no-store-func-path-notes.m | 13 if (param) { // expected-note{{'param' is 0}} 14 // expected-note@-1{{Taking false branch}} 18 return 1; // expected-note{{Returning without writing to '*var'}} 35 if (x) { // expected-note{{'x' is 0}} 36 // expected-note@-1{{Taking false branch}} 68 // expected-note@-1{{Taking false branch}} 70 } // expected-note{{Returning without writing to 'self->a'}} 74 [self initAMaybe]; // expected-note{{Calling 'initAMaybe'}} 82 // expected-note@-1{{Taking false branch}} 84 } // expected-note{{Returning without writing to 'self->a'}} [all …]
|
| H A D | undef-value-param.m | 37 //expected-note@-1{{Calling 'CreateRef'}} 38 //expected-note@-2{{Returning from 'CreateRef'}} 46 //expected-note@-1{{Calling 'CreateRefUndef'}} 47 //expected-note@-2{{Returning from 'CreateRefUndef'}} 57 //expected-note@-1{{Assuming 'err' is not equal to 0}} 58 //expected-note@-2{{Taking true branch}} 60 ref = 0; // expected-note{{nil object reference stored to 'ref'}} 62 *storeRef = ref; // expected-note{{nil object reference stored to 'storeRef'}} 69 //expected-note@-1{{Assuming 'err' is not equal to 0}} 70 //expected-note@-2{{Taking true branch}} [all …]
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | retain-release-path-notes.m | 84 [object release]; // expected-note{{Object released}} 90 [object autorelease]; // expected-note{{Object autoreleased}} 91 [object autorelease]; // expected-note{{Object autoreleased}} 97 [object autorelease]; // expected-note{{Object autoreleased}} 141 [result autorelease]; // expected-note{{Object autoreleased}} 208 // expected-note@-1{{Taking true branch}} 248 CFAutorelease(object); // expected-note{{Object autoreleased}} 249 CFAutorelease(object); // expected-note{{Object autoreleased}} 255 CFAutorelease(object); // expected-note{{Object autoreleased}} 261 CFAutorelease(object); // expected-note{{Object autoreleased}} [all …]
|
| H A D | uninit-vals.m | 36 int z; // expected-note{{'z' declared without an initial value}} 62 struct TestUninit x; // expected-note{{'x' initialized here}} 71 struct TestUninit x; // expected-note{{'x' initialized here}} 112 swap(s2, &s1); // expected-note{{Calling 'swap'}} 113 // expected-note@-1{{Returning from 'swap'}} 300 // expected-note@-1{{uninitialized}} 366 // expected-note@-1{{TRUE}} 368 // expected-note@-1{{TRUE}} 381 // expected-note@-1{{TRUE}} 405 } a, b, c; // expected-note{{'c' initialized here}} [all …]
|
| H A D | null-deref-path-notes.m | 15 // expected-note@-1 {{Assuming 'obj' is nil}} 16 // expected-note@-2 {{Taking false branch}} 18 int *x = &obj->uniqueID; // expected-note{{'x' initialized to a null pointer value}} 28 self = [super initWithID:newID]; // expected-note{{Value assigned to 'self'}} 30 // expected-note@-1 {{Assuming 'self' is nil}} 31 // expected-note@-2 {{Taking false branch}} 42 // expected-note@-1 {{Assuming 'coin' is 0}} 43 // expected-note@-2 {{Taking false branch}} 47 p = 0; // expected-note {{Null pointer value stored to 'p'}} 67 w->p = 0; // expected-note{{Null pointer value stored to 'p'}} [all …]
|
| H A D | DeallocUseAfterFreeErrors.m | 38 [super dealloc]; // expected-note {{[super dealloc] called here}} 58 [super dealloc]; // expected-note {{[super dealloc] called here}} 76 [super dealloc]; // expected-note {{[super dealloc] called here}} 95 [super dealloc]; // expected-note {{[super dealloc] called here}} 108 [super dealloc]; // expected-note {{[super dealloc] called here}} 127 [super dealloc]; // expected-note {{[super dealloc] called here}} 146 [super dealloc]; // expected-note {{[super dealloc] called here}} 205 …if (_ivar) { // expected-note {{Assuming the condition is false}} expected-note {{Taking false bra… 226 …if (_ivar) { // expected-note {{Assuming the condition is true}} expected-note {{Taking true branc… 251 [self _cleanup]; // expected-note {{Calling '_cleanup'}} [all …]
|
| /llvm-project-15.0.7/llvm/test/MC/ARM/ |
| H A D | negative-immediates.s | 8 # CHECK-DISABLED: note: instruction requires: NegativeImmediates 12 # CHECK-DISABLED: note: instruction requires: NegativeImmediates 16 # CHECK-DISABLED: note: instruction requires: NegativeImmediates 20 # CHECK-DISABLED: note: instruction requires: NegativeImmediates 24 # CHECK-DISABLED: note: instruction requires: NegativeImmediates 28 # CHECK-DISABLED: note: instruction requires: NegativeImmediates 32 # CHECK-DISABLED: note: instruction requires: NegativeImmediates 36 # CHECK-DISABLED: note: instruction requires: NegativeImmediates 40 # CHECK-DISABLED: note: instruction requires: NegativeImmediates 44 # CHECK-DISABLED: note: instruction requires: NegativeImmediates [all …]
|
| H A D | mve-fp-registers.s | 46 # NOFP32: :[[@LINE-2]]:{{[0-9]+}}: {{note|error}}: instruction requires: fp registers 50 # NOFP32: :[[@LINE-2]]:{{[0-9]+}}: {{note|error}}: instruction requires: fp registers 54 # NOFP32: :[[@LINE-2]]:{{[0-9]+}}: {{note|error}}: instruction requires: fp registers 58 # NOFP32: :[[@LINE-2]]:{{[0-9]+}}: {{note|error}}: instruction requires: fp registers 62 # NOFP32: :[[@LINE-2]]:{{[0-9]+}}: {{note|error}}: instruction requires: fp registers 66 # NOFP32: :[[@LINE-2]]:{{[0-9]+}}: {{note|error}}: instruction requires: fp registers 70 # NOFP32: :[[@LINE-2]]:{{[0-9]+}}: {{note|error}}: instruction requires: fp registers 74 # NOFP32: :[[@LINE-2]]:{{[0-9]+}}: {{note|error}}: instruction requires: fp registers 78 # NOFP32: :[[@LINE-2]]:{{[0-9]+}}: {{note|error}}: instruction requires: fp registers 82 # NOFP32: :[[@LINE-2]]:{{[0-9]+}}: {{note|error}}: instruction requires: fp registers [all …]
|
| H A D | vmov-vmvn-illegal-cases.s | 6 @ CHECK: note: operand must be a register in range [d0, d31] 7 @ CHECK: note: invalid operand for instruction 11 @ CHECK: note: invalid operand for instruction 15 @ CHECK: note: invalid operand for instruction 19 @ CHECK: note: invalid operand for instruction 23 @ CHECK: note: invalid operand for instruction 28 @ CHECK: note: invalid operand for instruction 32 @ CHECK: note: invalid operand for instruction 36 @ CHECK: note: invalid operand for instruction 40 @ CHECK: note: invalid operand for instruction [all …]
|
| H A D | negative-immediates-thumb1-fail.s | 7 # CHECK-DAG: note: instruction requires: thumb2 8 # CHECK-DAG: note: invalid operand for instruction 9 # CHECK-DAG: note: operand must be an immediate in the range [0,7] 10 # CHECK-DAG: note: operand must be a register in range [r0, r7] 14 # CHECK-DAG: note: invalid operand for instruction 19 # CHECK-DAG: note: invalid operand for instruction 20 # CHECK-DAG: note: operand must be an immediate in the range [0,7] 21 # CHECK-DAG: note: operand must be a register in range [r0, r7] 25 # CHECK-DAG: note: invalid operand for instruction 30 # CHECK-DAG: note: instruction requires: thumb2 [all …]
|
| H A D | negative-immediates-fail.s | 7 # CHECK: note: invalid operand for instruction 8 # CHECK: note: operand must be a register in range [r0, r15] 11 # CHECK: note: invalid operand for instruction 12 # CHECK: note: operand must be a register in range [r0, r15] 15 # CHECK: note: invalid operand for instruction 16 # CHECK: note: operand must be a register in range [r0, r15] 20 # CHECK: note: invalid operand for instruction 21 # CHECK: note: operand must be a register in range [r0, r15] 25 # CHECK: note: invalid operand for instruction 26 # CHECK: note: operand must be a register in range [r0, r15] [all …]
|
| /llvm-project-15.0.7/clang/test/Analysis/inlining/ |
| H A D | path-notes.m | 75 // expected-note@-2 {{Returning null pointer}} 80 // expected-note@-1 {{Calling 'getZeroIfNil'}} 92 // expected-note@+2 {{Calling 'dispatch_sync'}} 95 // expected-note@-1 {{Calling anonymous block}} 96 // expected-note@-2 {{Returning to caller}} 102 // expected-note@-1 {{Division by zero}} 113 // expected-note@+1 {{Calling 'dispatch_sync'}} 115 // expected-note@-1 {{Calling anonymous block}} 146 // expected-note@-1 {{Taking false branch}} 172 // expected-note@-2 {{Object autoreleased}} [all …]
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | warn-memsize-comparison.cpp | 21 expected-note {{did you mean to compare}} \ in f() 22 expected-note {{explicitly cast the argument}} in f() 27 expected-note {{did you mean to compare}} \ in f() 34 expected-note {{did you mean to compare}} \ in f() 40 expected-note {{did you mean to compare}} \ in f() 46 expected-note {{did you mean to compare}} \ in f() 52 expected-note {{did you mean to compare}} \ in f() 58 expected-note {{did you mean to compare}} \ in f() 65 expected-note {{did you mean to compare}} \ in f() 71 expected-note {{did you mean to compare}} \ in f() [all …]
|
| /llvm-project-15.0.7/clang/test/SemaObjC/ |
| H A D | arc-unbridged-cast.m | 46 …; // expected-error {{requires a bridged cast}} expected-note {{use __bridge to}} expected-note {{… 47 …; // expected-error {{requires a bridged cast}} expected-note {{use __bridge to}} expected-note {{… 48 …; // expected-error {{requires a bridged cast}} expected-note {{use __bridge to}} expected-note {{… 49 …; // expected-error {{requires a bridged cast}} expected-note {{use __bridge to}} expected-note {{… 50 …; // expected-error {{requires a bridged cast}} expected-note {{use __bridge to}} expected-note {{… 82 …]); // expected-error{{requires a bridged cast}} expected-note{{use __bridge to}} expected-note{{u… 94 …ter type 'id' to C pointer type 'CFStringRef'}} expected-note {{use __bridge to}} expected-note {{… 107 …ter type 'id' to C pointer type 'CFStringRef'}} expected-note {{use __bridge to}} expected-note {{… 112 …ter type 'id' to C pointer type 'CFStringRef'}} expected-note {{use __bridge to}} expected-note {{… 116 …ter type 'id' to C pointer type 'CFStringRef'}} expected-note {{use __bridge to}} expected-note {{… [all …]
|
| H A D | objcbridge-attribute-arc.m | 53 typedef CFErrorRef1 CFErrorRef2; // expected-note 2 {{declared here}} 61 @interface NSError<P1, P2, P3> @end // expected-note 5 {{declared here}} 63 @interface MyError : NSError // expected-note 1 {{declared here}} 98 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 105 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 108 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 112 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 118 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 121 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 124 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ [all …]
|
| H A D | unguarded-availability.m | 56 …expected-warning{{'func_10_12' is only available on macOS 10.12 or newer}} expected-note{{enclose}} 59 …expected-warning{{'func_10_12' is only available on macOS 10.12 or newer}} expected-note{{enclose}} 96 …if (@available(macos 10.20, *)) { // expected-note 2 {{jump enters controlled statement of if avai… 119 …(void)s.m2; // expected-warning{{'m2' is only available on macOS 10.12 or newer}} expected-note{{@… 143 …ected-warning{{'func_10_12' is only available on macOS 10.12 or newer}} expected-note{{@available}} 156 …0.12 or newer}} expected-note{{@available}} expected-warning{{'setX:' is only available on macOS 1… 171 // expected-note@-1 {{enclose 'func_10_12' in an @available check to silence this warning}} 278 struct InStruct { // expected-note{{annotate 'InStruct' with an availability attribute to silence}} 286 typedef enum { // expected-note{{annotate anonymous enum with an availability attribute}} 295 @interface Proper // expected-note{{annotate 'Proper' with an availability attribute}} [all …]
|
| H A D | method-direct.m | 4 - (void)protoMethod; // expected-note {{previous declaration is here}} 5 + (void)classProtoMethod; // expected-note {{previous declaration is here}} 29 - (void)rootExtensionDirect; // expected-note {{previous declaration is here}} 30 + (void)classRootExtensionDirect; // expected-note {{previous declaration is here}} 35 - (void)rootCategoryDirect; // expected-note {{previous declaration is here}} 36 + (void)classRootCategoryDirect; // expected-note {{previous declaration is here}} 55 @property int foo; // expected-note {{previous declaration is here}} 123 - (void)direct1 { // expected-note {{direct method 'direct1' declared here}} 125 - (void)direct2 { // expected-note {{direct method 'direct2' declared here}} 130 - (id)directMismatch1; // expected-note {{using}} [all …]
|
| /llvm-project-15.0.7/clang/test/SemaObjCXX/ |
| H A D | objcbridge-attribute-arc.mm | 38 typedef CFErrorRef1 CFErrorRef2; // expected-note 2 {{declared here}} 46 @interface NSError<P1, P2, P3> @end // expected-note 5 {{declared here}} 48 @interface MyError : NSError // expected-note 1 {{declared here}} 79 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 83 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 90 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 93 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 97 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 103 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 106 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ [all …]
|
| H A D | objcbridge-attribute.mm | 38 typedef CFErrorRef1 CFErrorRef2; // expected-note 2 {{declared here}} 46 @interface NSError<P1, P2, P3> @end // expected-note 5 {{declared here}} 48 @interface MyError : NSError // expected-note 1 {{declared here}} 79 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 83 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 90 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 93 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 97 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 103 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 106 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ [all …]
|
| H A D | arc-unbridged-cast.mm | 42 …; // expected-error {{requires a bridged cast}} expected-note {{use __bridge to}} expected-note {{… 43 …; // expected-error {{requires a bridged cast}} expected-note {{use __bridge to}} expected-note {{… 44 …; // expected-error {{requires a bridged cast}} expected-note {{use __bridge to}} expected-note {{… 45 …; // expected-error {{requires a bridged cast}} expected-note {{use __bridge to}} expected-note {{… 87 …ter type 'id' to C pointer type 'CFStringRef'}} expected-note {{use __bridge to}} expected-note {{… 100 …ter type 'id' to C pointer type 'CFStringRef'}} expected-note {{use __bridge to}} expected-note {{… 101 …ter type 'id' to C pointer type 'CFStringRef'}} expected-note {{use __bridge to}} expected-note {{… 102 …ter type 'id' to C pointer type 'CFStringRef'}} expected-note {{use __bridge to}} expected-note {{… 105 …ter type 'id' to C pointer type 'CFStringRef'}} expected-note {{use __bridge to}} expected-note {{… 109 …ter type 'id' to C pointer type 'CFStringRef'}} expected-note {{use __bridge to}} expected-note {{… [all …]
|
| H A D | objcbridge-static-cast.mm | 4 typedef struct __attribute__ ((objc_bridge(NSError))) __CFErrorRef * CFErrorRef; // expected-note 3… 32 … // expected-note {{use __bridge with C-style cast to convert directly (no change in ownership)}} \ 38 typedef CFErrorRef1 CFErrorRef2; // expected-note 1 {{declared here}} 46 @interface NSError<P1, P2, P3> @end // expected-note 3 {{declared here}} 48 @interface MyError : NSError // expected-note 1 {{declared here}} 79 … // expected-note {{use __bridge with C-style cast to convert directly (no change in ownership)}} \ 83 … // expected-note {{use __bridge with C-style cast to convert directly (no change in ownership)}} \ 90 // expected-note {{use __bridge with C-style cast to convert directly (no change in ownership)}} \ 93 // expected-note {{use __bridge with C-style cast to convert directly (no change in ownership)}} \ 97 // expected-note {{use __bridge with C-style cast to convert directly (no change in ownership)}} \ [all …]
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-readobj/ELF/ |
| H A D | note-core-ntfile-bad.test | 33 - Name: .note.foo 38 FirstSec: .note.foo 39 LastSec: .note.foo 69 - Name: .note.foo 74 FirstSec: .note.foo 75 LastSec: .note.foo 105 - Name: .note.foo 110 FirstSec: .note.foo 111 LastSec: .note.foo 144 - Name: .note.foo [all …]
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/ELF/ |
| H A D | add-note.test | 5 # RUN: echo -e -n "\x04\x00\x00\x00" > %t-note.bin 6 # RUN: echo -e -n "\x10\x00\x00\x00" >> %t-note.bin 7 # RUN: echo -e -n "\x03\x00\x00\x00" >> %t-note.bin 8 # RUN: echo -e -n "GNU\x00" >> %t-note.bin 9 # RUN: echo -e -n "\x00\x01\x02\x03" >> %t-note.bin 10 # RUN: echo -e -n "\x04\x05\x06\x07" >> %t-note.bin 11 # RUN: echo -e -n "\x08\x09\x0a\x0b" >> %t-note.bin 12 # RUN: echo -e -n "\x0c\x0d\x0e\x0f" >> %t-note.bin 15 # RUN: llvm-objcopy --add-section=.note.gnu.build-id=%t-note.bin %t.o %t-with-note.o 16 # RUN: llvm-readobj --notes %t-with-note.o | FileCheck %s [all …]
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/elf-core/ |
| H A D | ProcessElfCore.cpp | 578 ELFNote note = ELFNote(); in parseSegment() local 602 for (const auto ¬e : notes) { in parseFreeBSDNotes() local 616 switch (note.info.n_type) { in parseFreeBSDNotes() 632 m_auxv = DataExtractor(note.data, 4, note.data.GetByteSize() - 4); in parseFreeBSDNotes() 681 for (const auto ¬e : notes) { in parseNetBSDNotes() local 692 m_auxv = note.data; in parseNetBSDNotes() 838 switch (note.info.n_type) { in parseOpenBSDNotes() 843 m_auxv = note.data; in parseOpenBSDNotes() 880 if (note.info.n_name != "CORE" && note.info.n_name != "LINUX") in parseLinuxNotes() 893 switch (note.info.n_type) { in parseLinuxNotes() [all …]
|
| /llvm-project-15.0.7/clang/test/SemaOpenCL/ |
| H A D | invalid-kernel-parameters.cl | 61 struct SizeTStruct { // expected-note{{within field of type 'SizeTStruct' declared here}} 66 union SizeTUnion { // expected-note{{within field of type 'SizeTUnion' declared here}} 72 typedef size_t s_ty; // expected-note{{'s_ty' (aka 'unsigned int') declared here}} 83 bool x; // expected-note{{field of illegal type 'bool' declared here}} 93 // as a note here any longer. 100 typedef struct Foo // expected-note{{within field of type 'Foo' declared here}} 147 bool boolField; // expected-note 2 {{field of illegal type 'bool' declared here}} 157 // Check for note with a struct not defined inside the struct 160 bool boolField; // expected-note{{field of illegal type 'bool' declared here}} 192 struct AlsoUser // expected-note{{within field of type 'AlsoUser' declared here}} [all …]
|