Home
last modified time | relevance | path

Searched refs:note (Results 1 – 25 of 1358) sorted by relevance

12345678910>>...55

/llvm-project/clang/test/Analysis/diagnostics/
H A Dno-store-func-path-notes.m13 if (param) { // expected-note{{'param' is 0}}
14 // expected-note@-1{{Taking false branch}}
18 return 1; // expected-note{{Returning without writing to '*var'}}
19 // expected-note@-1{{Returning the value 1, which participates in a condition later}}
24 int x; //expected-note{{'x' declared without an initial value}}
25 int out = [i initVar:&x param:0]; //expected-note{{Calling 'initVar:param:'}}
26 //expected-note@-1{{Returning from 'initVar:param:'}}
27 if (out) //expected-note{{'out' is 1}}
28 //expected-note@-1{{Taking true branch}}
30 … //expected-note@-1{{Undefined or garbage value returned to caller}}
[all …]
/llvm-project/llvm/test/CodeGen/AArch64/
H A Dinline-asm-clobber-arm64ec.ll4 ; will be clobbered on Arm64EC. With a note explaining the reason.
7 ; CHECK-NEXT: note: Reserved registers on the clobber list may not be preserved across the asm stat…
8 ; CHECK-NEXT: note: x13 is clobbered by asynchronous signals when using Arm64EC.
9 ; CHECK-NEXT: note: x14 is clobbered by asynchronous signals when using Arm64EC.
10 ; CHECK-NEXT: note: x23 is clobbered by asynchronous signals when using Arm64EC.
11 ; CHECK-NEXT: note: x24 is clobbered by asynchronous signals when using Arm64EC.
12 ; CHECK-NEXT: note: x28 is clobbered by asynchronous signals when using Arm64EC.
21 ; CHECK-NEXT: note: Reserved registers on the clobber list may not be preserved across the asm stat…
22 ; CHECK-NEXT: note: w13 is clobbered by asynchronous signals when using Arm64EC.
23 ; CHECK-NEXT: note: w14 is clobbered by asynchronous signals when using Arm64EC.
[all …]
/llvm-project/clang/test/Analysis/
H A Dretain-release-path-notes.m47 …id leaked = [[NSObject alloc] init]; // expected-note{{Method returns an instance of NSObject with…
48 …return; // expected-warning{{leak}} expected-note{{Object leaked: object allocated and stored into…
52 …CFTypeRef leaked = CFCreateSomething(); // expected-note{{Call to function 'CFCreateSomething' ret…
53 …return; // expected-warning{{leak}} expected-note{{Object leaked: object allocated and stored into…
57 …id leaked = [foo methodWithValue]; // expected-note{{Method returns an Objective-C object with a +…
58 …[leaked retain]; // expected-note{{Reference count incremented. The object now has a +1 retain cou…
59 …[leaked retain]; // expected-note{{Reference count incremented. The object now has a +2 retain cou…
60 …[leaked release]; // expected-note{{Reference count decremented. The object now has a +1 retain co…
61 …return; // expected-warning{{leak}} expected-note{{Object leaked: object allocated and stored into…
65 …id leaked = foo.propertyValue; // expected-note{{Property returns an Objective-C object with a +0 …
[all …]
H A Duninit-vals.m36 int z; // expected-note{{'z' declared without an initial value}}
38 // expected-note@-1{{Assigned value is garbage or undefined}}
45 // expected-note@-1{{The left operand of '+' is a garbage value}}
51 // expected-note@-1{{The right operand of '+' is a garbage value}}
62 struct TestUninit x; // expected-note{{'x' initialized here}}
64 …// expected-note@-1{{Passed-by-value struct argument contains uninitialized data (e.g., field: 'x'…
71 struct TestUninit x; // expected-note{{'x' initialized here}}
73 …// expected-note@-1{{Passed-by-value struct argument contains uninitialized data (e.g., field: 'x'…
82 …// expected-note@-1{{The left expression of the compound assignment is an uninitialized value. The…
91 // expected-note@-1{{1st function call argument is an uninitialized value}}
[all …]
H A DDeallocUseAfterFreeErrors.m37 [super dealloc]; // expected-note {{[super dealloc] called here}}
39 // expected-note@-1 {{Use of instance variable '_ivar' after 'self' has been deallocated}}
57 [super dealloc]; // expected-note {{[super dealloc] called here}}
59 // expected-note@-1 {{Use of instance variable '_delegate' after 'self' has been deallocated}}
75 [super dealloc]; // expected-note {{[super dealloc] called here}}
77 // expected-note@-1 {{Use of instance variable '_s' after 'self' has been deallocated}}
94 [super dealloc]; // expected-note {{[super dealloc] called here}}
96 // expected-note@-1 {{Use of instance variable '_ivar' after 'self' has been deallocated}}
107 [super dealloc]; // expected-note {{[super dealloc] called here}}
109 // expected-note@-1 {{Use of instance variable '_ivar' after 'self' has been deallocated}}
[all …]
H A Dnull-deref-path-notes.m15 // 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}}
19 …arning{{Dereference of null pointer (loaded from variable 'x')}} expected-note{{Dereference of nul…
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}}
33 … a dereference of a null pointer (loaded from variable 'self')}} expected-note{{Access to instance…
42 // expected-note@-1 {{Assuming 'coin' is 0}}
43 // expected-note@-2 {{Taking false branch}}
[all …]
/llvm-project/llvm/test/MC/ARM/
H A Dnegative-immediates.s8 # 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 Dmve-fp-registers.s46 # 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|erro
[all...]
H A Dvmov-vmvn-illegal-cases.s6 @ CHECK: note: operand must be a register in range [d0, d31]
7 @ CHECK: note: invalid operand for instruction
10 @ CHECK: note: operand must be a register in range [q0, q15]
11 @ CHECK: note: invalid operand for instruction
14 @ CHECK: note: operand must be a register in range [d0, d31]
15 @ CHECK: note: invalid operand for instruction
18 @ CHECK: note: operand must be a register in range [q0, q15]
19 @ CHECK: note: invalid operand for instruction
22 @ CHECK: note: operand must be a register in range [q0, q15]
23 @ CHECK: note: invalid operand for instruction
[all …]
H A Dnegative-immediates-thumb1-fail.s7 # 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
15 # CHECK-DAG: note: operand must be an immediate in the range [0,255] or a relocatable expression
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
[all …]
/llvm-project/clang/test/SemaObjC/
H A Darc-unbridged-cast.m44 …; // 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 {{…
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 {{…
50 …x = (id) auditedCreateString(); // expected-error {{requires a bridged cast}} expected-note {{use …
51 …ng() : (void*) 0); // expected-error {{requires a bridged cast}} expected-note {{use CFBridgingRel…
52 …edCreateString()); // expected-error {{requires a bridged cast}} expected-note {{use CFBridgingRel…
53 …edCreateString()); // expected-error {{requires a bridged cast}} expected-note {{use CFBridgingRel…
80 …]); // expected-error{{requires a bridged cast}} expected-note{{use __bridge to}} expected-note{{u…
[all …]
H A Dunguarded-availability.m8 typedef int AVAILABLE_10_12 new_int; // expected-note + {{'new_int' has been marked as being introd…
10 int func_10_11(void) AVAILABLE_10_11; // expected-note 8 {{'func_10_11' has been marked as being in…
13 // expected-note@+2 6 {{'func_10_12' has been marked as being introduced in macOS 10.12 here, but t…
15 int func_10_12(void) AVAILABLE_10_12; // expected-note 7 {{'func_10_12' has been marked as being in…
20 …arning{{'func_10_11' is only available on macOS 10.11 or newer}} expected-note{{enclose 'func_10_1…
25 …arning{{'func_10_11' is only available on macOS 10.11 or newer}} expected-note{{enclose 'func_10_1…
42 …arning{{'func_10_12' is only available on macOS 10.12 or newer}} expected-note{{enclose 'func_10_1…
48 …arning{{'func_10_11' is only available on macOS 10.11 or newer}} expected-note{{enclose 'func_10_1…
51 …arning{{'func_10_11' is only available on macOS 10.11 or newer}} expected-note{{enclose 'func_10_1…
56 …expected-warning{{'func_10_12' is only available on macOS 10.12 or newer}} expected-note{{enclose}}
[all …]
H A Dobjcbridge-attribute-arc.m3 typedef struct __attribute__ ((objc_bridge(NSError))) __CFErrorRef * CFErrorRef; // expected-note 5…
5 …bute__ ((objc_bridge(MyError))) __CFMyErrorRef * CFMyErrorRef; // expected-note 1 {{declared here}}
41 typedef struct __attribute__((objc_bridge(NSTesting))) __CFError *CFTestingRef; // expected-note {{…
46 … // expected-note {{use __bridge to convert directly (no change in ownership)}} \
47 …// expected-note {{use __bridge_transfer to transfer ownership of a +1 'CFTestingRef' (aka 'struct…
52 typedef CFErrorRef1 CFErrorRef2; // expected-note 2 {{declared here}}
60 @interface NSError<P1, P2, P3> @end // expected-note 5 {{declared here}}
62 @interface MyError : NSError // expected-note 1 {{declared here}}
72 // expected-note {{__bridge to convert directly (no change in ownership)}} \
73 …// expected-note {{use __bridge_transfer to transfer ownership of a +1 'CFErrorRef2' (aka 'struct …
[all …]
H A Dmethod-direct.m4 - (void)protoMethod; // expected-note {{previous declaration is here}}
5 + (void)classProtoMethod; // expected-note {{previous declaration is here}}
16 - (void)rootRegular; // expected-note {{previous declaration is he…
17 + (void)classRootRegular; // expected-note {{previous declaration is he…
18 - (void)rootDirect __attribute__((objc_direct)); // expected-note {{previous declaration is he…
19 + (void)classRootDirect __attribute__((objc_direct)); // expected-note {{previous declaration is he…
20 - (void)otherRootDirect __attribute__((objc_direct)); // expected-note {{direct method 'otherRootDi…
21 + (void)otherClassRootDirect __attribute__((objc_direct)); // expected-note {{direct method 'otherC…
22 + (void)otherOtherClassRootDirect __attribute__((objc_direct)); // expected-note {{direct method 'o…
23 - (void)notDirectInIface; // expected-note {{previous declaration is he…
[all …]
/llvm-project/clang/test/Analysis/inlining/
H A Dpath-notes.m74 // expected-note@-1 {{'p' not called because the receiver is nil}}
75 // expected-note@-2 {{Returning null pointer}}
80 // expected-note@-1 {{Calling 'getZeroIfNil'}}
81 // expected-note@-2 {{Passing nil object reference via 1st parameter 'x'}}
82 // expected-note@-3 {{Returning from 'getZeroIfNil'}}
83 // expected-note@-4 {{Dereference of null pointer}}
92 // expected-note@+2 {{Calling 'dispatch_sync'}}
93 // expected-note@+1 {{Returning from 'dispatch_sync'}}
95 // expected-note@-1 {{Calling anonymous block}}
96 // expected-note@-2 {{Returning to caller}}
[all …]
/llvm-project/clang/test/SemaCXX/
H A Dwarn-memsize-comparison.cpp21 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()
28 expected-note {{explicitly cast the argument}} in f()
34 expected-note {{did you mean to compare}} \ in f()
35 expected-note {{explicitly cast the argument}} in f()
40 expected-note {{did you mean to compare}} \ in f()
41 expected-note {{explicitly cast the argument}} in f()
46 expected-note {{did you mean to compare}} \ in f()
47 expected-note {{explicitly cast the argument}} in f()
[all …]
/llvm-project/clang/test/SemaObjCXX/
H A Dobjcbridge-attribute.mm3 typedef struct __attribute__ ((objc_bridge(NSError))) __CFErrorRef * CFErrorRef; // expected-note 5…
5 …bute__ ((objc_bridge(MyError))) __CFMyErrorRef * CFMyErrorRef; // expected-note 1 {{declared here}}
26 typedef struct __attribute__((objc_bridge(NSTesting))) __CFError *CFTestingRef; // expected-note {{…
31 … // expected-note {{use __bridge to convert directly (no change in ownership)}} \
32 …// expected-note {{use __bridge_transfer to transfer ownership of a +1 'CFTestingRef' (aka '__CFEr…
37 typedef CFErrorRef1 CFErrorRef2; // expected-note 2 {{declared here}}
45 @interface NSError<P1, P2, P3> @end // expected-note 5 {{declared here}}
47 @interface MyError : NSError // expected-note 1 {{declared here}}
57 // expected-note {{__bridge to convert directly (no change in ownership)}} \
58 …// expected-note {{use __bridge_transfer to transfer ownership of a +1 'CFErrorRef2' (aka '__CFErr…
[all …]
H A Dobjcbridge-attribute-arc.mm3 typedef struct __attribute__ ((objc_bridge(NSError))) __CFErrorRef * CFErrorRef; // expected-note 5…
5 …bute__ ((objc_bridge(MyError))) __CFMyErrorRef * CFMyErrorRef; // expected-note 1 {{declared here}}
26 typedef struct __attribute__((objc_bridge(NSTesting))) __CFError *CFTestingRef; // expected-note {{…
31 … // expected-note {{use __bridge to convert directly (no change in ownership)}} \
32 …// expected-note {{use __bridge_transfer to transfer ownership of a +1 'CFTestingRef' (aka '__CFEr…
37 typedef CFErrorRef1 CFErrorRef2; // expected-note 2 {{declared here}}
45 @interface NSError<P1, P2, P3> @end // expected-note 5 {{declared here}}
47 @interface MyError : NSError // expected-note 1 {{declared here}}
57 // expected-note {{__bridge to convert directly (no change in ownership)}} \
58 …// expected-note {{use __bridge_transfer to transfer ownership of a +1 'CFErrorRef2' (aka '__CFErr…
[all …]
H A Darc-unbridged-cast.mm40 …; // expected-error {{requires a bridged cast}} expected-note {{use __bridge to}} expected-note {{…
41 …; // expected-error {{requires a bridged cast}} expected-note {{use __bridge to}} expected-note {{…
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 {{…
45 …x = (id) auditedCreateString(); // expected-error {{requires a bridged cast}} expected-note {{use …
46 …ng() : (void*) 0); // expected-error {{requires a bridged cast}} expected-note {{use CFBridgingRel…
47 …edCreateString()); // expected-error {{requires a bridged cast}} expected-note {{use CFBridgingRel…
48 …edCreateString()); // expected-error {{requires a bridged cast}} expected-note {{use CFBridgingRel…
84 …ter type 'id' to C pointer type 'CFStringRef'}} expected-note {{use __bridge to}} expected-note {{…
97 …ter type 'id' to C pointer type 'CFStringRef'}} expected-note {{use __bridge to}} expected-note {{…
[all …]
H A Dobjcbridge-static-cast.mm3 typedef struct __attribute__ ((objc_bridge(NSError))) __CFErrorRef * CFErrorRef; // expected-note 3…
5 …bute__ ((objc_bridge(MyError))) __CFMyErrorRef * CFMyErrorRef; // expected-note 1 {{declared here}}
26 typedef struct __attribute__((objc_bridge(NSTesting))) __CFError *CFTestingRef; // expected-note {{…
31 … // expected-note {{use __bridge with C-style cast to convert directly (no change in ownership)}} \
32 …// expected-note {{use __bridge_transfer with C-style cast to transfer ownership of a +1 'CFTestin…
37 typedef CFErrorRef1 CFErrorRef2; // expected-note 1 {{declared here}}
45 @interface NSError<P1, P2, P3> @end // expected-note 3 {{declared here}}
47 @interface MyError : NSError // expected-note 1 {{declared here}}
57 … // expected-note {{__bridge with C-style cast to convert directly (no change in ownership)}} \
58 …// expected-note {{use __bridge_transfer with C-style cast to transfer ownership of a +1 'CFErrorR…
[all …]
/llvm-project/llvm/test/tools/llvm-readobj/ELF/
H A Dnote-core-ntfile-bad.test6 # $ bin/llvm-objcopy --dump-section=.note.foo=tmp.txt tmp.o /dev/null
14 …-SHORT: warning: '[[FILE]]': unable to read note with index 0 from the PT_NOTE segment with index …
16 # .section ".note.foo", "a"
33 - Name: .note.foo
38 FirstSec: .note.foo
39 LastSec: .note.foo
45 …L-TERM: warning: '[[FILE]]': unable to read note with index 0 from the PT_NOTE segment with index …
47 # .section ".note.foo", "a"
69 - Name: .note.foo
74 FirstSec: .note.foo
[all …]
/llvm-project/llvm/test/tools/llvm-objcopy/ELF/
H A Dadd-note.test1 # Verify that --add-section can be used to add a note section which is
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
[all …]
/llvm-project/lldb/source/Plugins/Process/elf-core/
H A DProcessElfCore.cpp233 // Check we found a signal in a SIGINFO note. in DoLoadCore()
242 // PRSTATUS note. in DoLoadCore()
490 // Parse a FreeBSD NT_PRSTATUS note - see FreeBSD sys/procfs.h for details. in ParseFreeBSDPrStatus()
518 // Parse a FreeBSD NT_PRPSINFO note - see FreeBSD sys/procfs.h for details. in ParseFreeBSDPrPsInfo()
601 ELFNote note = ELFNote(); in parseSegment()
602 if (!note.Parse(segment, &offset))
604 "Unable to parse note segment", llvm::inconvertibleErrorCode()); in parseFreeBSDNotes()
607 size_t note_size = llvm::alignTo(note.n_descsz, 4); in parseFreeBSDNotes()
609 result.push_back({note, DataExtractor(segment, note_start, note_size)}); in parseFreeBSDNotes()
625 for (const auto &note in parseFreeBSDNotes()
588 ELFNote note = ELFNote(); parseSegment() local
612 for (const auto &note : notes) { parseFreeBSDNotes() local
691 for (const auto &note : notes) { parseNetBSDNotes() local
842 for (const auto &note : notes) { parseOpenBSDNotes() local
889 for (const auto &note : notes) { parseLinuxNotes() local
[all...]
/llvm-project/llvm/test/TableGen/
H A Ddump.td3 // CHECK: [[FILE]]:[[@LINE+1]]:1: note: Debug message
12 // CHECK: [[FILE]]:[[@LINE+5]]:1: note: The Value of A is:
20 // CHECK: [[FILE]]:[[@LINE+4]]:1: note: b { // A
27 // CHECK: [[FILE]]:[[@LINE+1]]:1: note: some other text
32 // CHECK: [[FILE]]:[[@LINE+3]]:1: note: got a pair of values ["some other text" : 12], and an empty record:
38 // CHECK: [[FILE]]:[[@LINE+1]]:3: note: s = (op a)
40 // CHECK: [[FILE]]:[[@LINE+4]]:3: note: args[0] = a { // A
50 // CHECK: [[FILE]]:[[@LINE+1]]:3: note: the operand of s is op
52 // CHECK: [[FILE]]:[[@LINE-13]]:3: note: s = (op a, a)
53 // CHECK: [[FILE]]:[[@LINE-9]]:3: note
[all...]
/llvm-project/mlir/test/Dialect/Transform/
H A Dexpensive-checks.mlir3 // expected-note @below {{ancestor payload op}}
5 // expected-note @below {{nested payload op}}
22 // expected-note @below {{handle to invalidated ops}}
25 // expected-note @below {{invalidated by this transform op that consumes its operand #0}}
38 // expected-note @below {{repeated target op}}
77 // expected-note @below {{ancestor payload op}}
78 // expected-note @below {{nested payload op}}
83 // expected-note @below {{handle to invalidated ops}}
85 // expected-note @below {{invalidated by this transform op that consumes its operand #0}}
95 // expected-note @below {{ancestor payload op}}
[all …]

12345678910>>...55