Home
last modified time | relevance | path

Searched refs:address (Results 1 – 25 of 2378) sorted by relevance

12345678910>>...96

/llvm-project-15.0.7/llvm/test/MC/Mips/
H A Dmips-bad-branches.s3 # CHECK: error: branch to misaligned address
5 # CHECK: error: branch to misaligned address
7 # CHECK: error: branch to misaligned address
11 # CHECK: error: branch to misaligned address
13 # CHECK: error: branch to misaligned address
15 # CHECK: error: branch to misaligned address
20 # CHECK: error: branch to misaligned address
22 # CHECK: error: branch to misaligned address
24 # CHECK: error: branch to misaligned address
28 # CHECK: error: branch to misaligned address
[all …]
H A Dmicromips-bad-branches.s3 # CHECK: error: branch to misaligned address
7 # CHECK: error: branch to misaligned address
12 # CHECK: error: branch to misaligned address
16 # CHECK: error: branch to misaligned address
21 # CHECK: error: branch to misaligned address
25 # CHECK: error: branch to misaligned address
30 # CHECK: error: branch to misaligned address
34 # CHECK: error: branch to misaligned address
39 # CHECK: error: branch to misaligned address
43 # CHECK: error: branch to misaligned address
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-objdump/
H A Dwarn-on-out-of-range-start-stop-address.test1 ## This test checks warning messages if --start-address/--stop-address
15 # RUN: llvm-objdump --file-headers --start-address=0x1004 --stop-address=0x1006 %t 2>&1 \
21 # RUN: llvm-objdump --file-headers --start-address=0x1005 --stop-address=0x1006 %t 2>&1 \
27 # RUN: llvm-objdump --file-headers --start-address=0x1405 --stop-address=0x1406 %t 2>&1 \
43 # RUN: llvm-objdump --file-headers --start-address=0x1000 --stop-address=0x1004 %t 2>&1 \
49 # RUN: llvm-objdump --file-headers --start-address=0x1001 --stop-address=0x1003 %t 2>&1 \
55 # RUN: llvm-objdump --file-headers --start-address=0xfff --stop-address=0x1005 %t 2>&1 \
61 # RUN: llvm-objdump --file-headers --start-address=0x1000 --stop-address=0x1003 %t 2>&1 \
79 # RUN: llvm-objdump --file-headers --start-address=0xfff --stop-address=0x1004 %t 2>&1 \
113 # RUN: llvm-objdump --file-headers --start-address=0x1 --stop-address=0x3 %t.3 2>&1 \
[all …]
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/
H A Dtsan_interceptors_mach_vm.cpp22 static bool intersects_with_shadow(mach_vm_address_t address, in intersects_with_shadow() argument
26 return !IsAppMem(address) || !IsAppMem(address + size - 1); in intersects_with_shadow()
33 return REAL(mach_vm_allocate)(target, address, size, flags); in TSAN_INTERCEPTOR()
34 if (address && intersects_with_shadow(*address, size, flags)) in TSAN_INTERCEPTOR()
38 MemoryRangeImitateWriteOrResetRange(thr, pc, *address, size); in TSAN_INTERCEPTOR()
43 mach_vm_address_t address, mach_vm_size_t size) { in TSAN_INTERCEPTOR() argument
44 SCOPED_TSAN_INTERCEPTOR(mach_vm_deallocate, target, address, size); in TSAN_INTERCEPTOR()
46 return REAL(mach_vm_deallocate)(target, address, size); in TSAN_INTERCEPTOR()
47 kern_return_t kr = REAL(mach_vm_deallocate)(target, address, size); in TSAN_INTERCEPTOR()
48 if (kr == KERN_SUCCESS && address) in TSAN_INTERCEPTOR()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors_mach_vm.cpp22 static bool intersects_with_shadow(mach_vm_address_t address, in intersects_with_shadow() argument
26 return !IsAppMem(address) || !IsAppMem(address + size - 1); in intersects_with_shadow()
33 return REAL(mach_vm_allocate)(target, address, size, flags); in TSAN_INTERCEPTOR()
34 if (address && intersects_with_shadow(*address, size, flags)) in TSAN_INTERCEPTOR()
38 MemoryRangeImitateWriteOrResetRange(thr, pc, *address, size); in TSAN_INTERCEPTOR()
43 mach_vm_address_t address, mach_vm_size_t size) { in TSAN_INTERCEPTOR() argument
44 SCOPED_TSAN_INTERCEPTOR(mach_vm_deallocate, target, address, size); in TSAN_INTERCEPTOR()
46 return REAL(mach_vm_deallocate)(target, address, size); in TSAN_INTERCEPTOR()
47 kern_return_t kr = REAL(mach_vm_deallocate)(target, address, size); in TSAN_INTERCEPTOR()
48 if (kr == KERN_SUCCESS && address) in TSAN_INTERCEPTOR()
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-xray/X86/Inputs/
H A Dsimple-instrmap.yaml4 - { id: 1, address: 0x1, function: 0x1, kind: function-enter, always-instrument: true}
5 - { id: 1, address: 0x2, function: 0x1, kind: function-exit, always-instrument: true}
6 - { id: 2, address: 0x2, function: 0x2, kind: function-enter, always-instrument: true}
7 - { id: 2, address: 0x3, function: 0x2, kind: function-exit, always-instrument: true}
8 - { id: 3, address: 0x3, function: 0x3, kind: function-enter, always-instrument: true}
9 - { id: 3, address: 0x4, function: 0x3, kind: function-exit, always-instrument: true}
10 - { id: 4, address: 0x4, function: 0x4, kind: function-enter, always-instrument: true}
11 - { id: 4, address: 0x5, function: 0x4, kind: function-exit, always-instrument: true}
12 - { id: 5, address: 0x5, function: 0x5, kind: function-enter, always-instrument: true}
13 - { id: 5, address: 0x6, function: 0x5, kind: function-exit, always-instrument: true}
[all …]
/llvm-project-15.0.7/lldb/test/Shell/Commands/Inputs/
H A Dcommand-disassemble.lldbinit5 disassemble --start-address 0x0
6 disassemble --start-address 0x4 --end-address 0x8
7 disassemble --start-address 0x8 --end-address 0x4
8 disassemble --address 0x0
9 disassemble --address 0xdeadb
10 disassemble --address 0x100
11 disassemble --address 0x100 --count 3
12 disassemble --address 0x100 --force
13 disassemble --start-address 0x0 --count 7
14 disassemble --start-address 0x0 --end-address 0x20 --count 7
/llvm-project-15.0.7/clang/test/SemaOpenCL/
H A Daddress-spaces.cl32 // expected-error@-4 {{assigning '__constant int *' to '__generic int *' changes address space of p…
40 // expected-error@-2 {{casting '__local int *' to type '__global int *' changes address space of po…
46 // expected-error@-2 {{casting '__constant int *' to type '__global int *' changes address space of…
58 // expected-error@-2 {{casting '__private int *' to type '__global int *' changes address space of …
64 // expected-error@-2 {{casting '__global int *' to type '__local int *' changes address space of po…
70 // expected-error@-2 {{casting '__constant int *' to type '__local int *' changes address space of …
82 // expected-error@-2 {{casting '__private int *' to type '__local int *' changes address space of p…
244 __private __local int var1; // expected-error {{multiple address spaces specified for type}}
245 __private __local int *var2; // expected-error {{multiple address spaces specified for type}}
246 __local private_int_t var3; // expected-error {{multiple address spaces specified for type}}
[all …]
H A Dstorageclass.cl71 // expected-error@-2 {{extern variable must reside in constant address space}}
78 // expected-error@-2 {{extern variable must reside in constant address space}}
83 // expected-error@-2 {{extern variable must reside in constant address space}}
90 // expected-error@-2 {{extern variable must reside in constant address space}}
98 // expected-error@-3 {{extern variable must reside in constant address space}}
108 // expected-error@-13 {{extern variable must reside in constant address space}}
229 // expected-error@-2 {{extern variable must reside in constant address space}}
231 // expected-error@-4 {{extern variable must reside in constant address space}}
238 // expected-error@-2 {{extern variable must reside in constant address space}}
240 // expected-error@-4 {{extern variable must reside in constant address space}}
[all …]
H A Dusm-address-spaces-conversions.cl1 // RUN: %clang_cc1 %s -ffake-address-space-map -verify -pedantic -fsyntax-only -cl-std=CL2.0
2 // RUN: %clang_cc1 %s -ffake-address-space-map -verify -pedantic -fsyntax-only -cl-std=CL2.0 -DGENE…
3 // RUN: %clang_cc1 %s -ffake-address-space-map -verify -pedantic -fsyntax-only -cl-std=CL2.0 -DCONS…
4 // RUN: %clang_cc1 %s -ffake-address-space-map -verify -pedantic -fsyntax-only -cl-std=CL2.0 -DLOCAL
6 /* USM (unified shared memory) extension for OpenCLC 2.0 adds two new address
7 * spaces: global_device and global_host that are a subset of __global address
9 * convert a subset address space to a superset address space, while conversion
36 …g '__generic int *__private' to '__global_device int *__private' changes address space of pointer}}
37 …ing '__generic int *__private' to '__global_host int *__private' changes address space of pointer}}
39 …ng '__global int *__private' to '__global_device int *__private' changes address space of pointer}}
[all …]
H A Daddress-spaces-conversions-cl2.0.cl15 * different address spaces, mainly described in Sections 6.5.5 and 6.5.6.
17 * It adds notion of overlapping address spaces. The main differention is that
18 * an unnamed address space is added, called '__generic'. Pointers to the
19 * generic address space can be interchangabley used with pointers to any
20 * other address space except for __constant address space (Section 6.5.5).
23 * case), and __constant, that should cover all program paths for CL address
53 … function not viable: cannot pass pointer to address space '__{{generic|constant}}' as a pointer t…
61 …nction not viable: cannot pass pointer to address space '__{{global|generic|constant}}' as a point…
69 …e function not viable: cannot pass pointer to address space '__{{global|generic}}' as a pointer to…
77 …nction not viable: cannot pass pointer to address space '__{{global|generic|constant}}' as a point…
[all …]
H A Dstorageclass-cl20.cl6 … // expected-error{{program scope variable must reside in global or constant address space}}
11 …0; // expected-error {{program scope variable must reside in global or constant address space}}
18 …tern_var; // expected-error {{extern variable must reside in global or constant address space}}
19 …e_extern_var; // expected-error {{extern variable must reside in global or constant address space}}
20 …c_extern_var; // expected-error {{extern variable must reside in global or constant address space}}
28 … // expected-error{{function scope variable cannot be declared in global address space}}
29 … // expected-error{{automatic variable qualified with an invalid address space}}
30 …pace(100))) int L5; // expected-error{{automatic variable qualified with an invalid address space}}
42 …tern_var; // expected-error {{extern variable must reside in global or constant address space}}
43 …e_extern_var; // expected-error {{extern variable must reside in global or constant address space}}
[all …]
/llvm-project-15.0.7/clang/docs/
H A DSYCLSupport.rst27 default address space" (see section 5.9.3) and "inferred address space" (see
32 the address space qualifier inference as detailed in
35 The default address space is "generic-memory", which is a virtual address space
39 - explicit conversions to/from the default address space from/to the address
42 address space
43 - explicit conversions to/from the global address space from/to the
45 ``__attribute__((opencl_global_host))`` address space-attributed type
48 global address space
50 All named address spaces are disjoint and sub-sets of default address space.
58 to a specific address space. This is described in
[all …]
/llvm-project-15.0.7/clang/test/Driver/
H A Dhip-sanitize-options.hip4 // RUN: -fsanitize=address \
9 // RUN: -fsanitize=address -fno-gpu-sanitize \
14 // RUN: -fsanitize=address -fgpu-sanitize \
19 // RUN: -fsanitize=address -fgpu-sanitize -fgpu-rdc \
24 // RUN: -fsanitize=address -fgpu-sanitize \
52 // CHECK-NOT: {{"[^"]*clang[^"]*".* "-fcuda-is-device".* "-fsanitize=address"}}
61 // RDC: {{"[^"]*clang[^"]*".* "-triple" "x86_64-unknown-linux-gnu".* "-fsanitize=address"}}
65 // FAIL: AMDGPU address sanitizer runtime library (asanrtl) is not found. Please install ROCm devic…
76 // XNACKNEG-NOT: {{"[^"]*clang[^"]*".* "-target-cpu" "gfx906".* "-fsanitize=address,leak"}}
78 // XNACKNEG-NOT: {{"[^"]*clang[^"]*".* "-target-cpu" "gfx906".* "-fsanitize=address"}}
[all …]
/llvm-project-15.0.7/lldb/test/Shell/SymbolFile/DWARF/x86/
H A Ddebug_line-tombstone.s80 .byte 33 # address += 1, line += 1
81 .byte 33 # address += 1, line += 1
82 .byte 33 # address += 1, line += 1
83 .byte 33 # address += 1, line += 1
84 .byte 33 # address += 1, line += 1
85 .byte 33 # address += 1, line += 1
86 .byte 33 # address += 1, line += 1
87 .byte 33 # address += 1, line += 1
88 .byte 33 # address += 1, line += 1
89 .byte 33 # address += 1, line += 1
[all …]
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_stacktrace_printer_test.cpp71 info.address = 0x400000; in TEST()
95 info.address = 0x400000; in TEST()
96 RenderFrame(&str, "%M", frame_no, info.address, &info, false); in TEST()
100 RenderFrame(&str, "%L", frame_no, info.address, &info, false); in TEST()
106 RenderFrame(&str, "%M", frame_no, info.address, &info, false); in TEST()
111 RenderFrame(&str, "%L", frame_no, info.address, &info, false); in TEST()
115 RenderFrame(&str, "%b", frame_no, info.address, &info, false); in TEST()
123 RenderFrame(&str, "%M", frame_no, info.address, &info, false); in TEST()
129 RenderFrame(&str, "%L", frame_no, info.address, &info, false); in TEST()
133 RenderFrame(&str, "%b", frame_no, info.address, &info, false); in TEST()
[all …]
/llvm-project-15.0.7/lldb/test/API/functionalities/signal/handle-segv/
H A Dmain.c11 void *address; variable
17 if (munmap(address, kMmapSize) != 0) in handler()
23 void* newaddr = mmap(address, kMmapSize, PROT_READ | PROT_WRITE, in handler()
25 if (newaddr != address) in handler()
28 newaddr, address); in handler()
42 address = mmap(NULL, kMmapSize, PROT_NONE, MAP_ANON | MAP_PRIVATE, -1, 0); in main()
43 if (address == MAP_FAILED) in main()
51 if (*(int*)address != kMagicValue) in main()
/llvm-project-15.0.7/llvm/test/tools/yaml2obj/ELF/DWARF/
H A Ddebug-addr.yaml45 ## +---------------- address (8-byte)
74 ## | +------- address (4-byte)
88 ## +---------------- address (8-byte)
119 ## +------- address (4-byte)
131 ## +------- higher 4-byte of address
148 ## 1) Only address (4-byte) exists.
173 ## 5) Both address (4-byte) and segment (4-byte) exist.
194 ## 7) Both address (4-byte) and segment (8-byte) exist.
329 ## +------- address (4-byte)
369 ## +------- address (4-byte)
[all …]
/llvm-project-15.0.7/llvm/test/ObjectYAML/MachO/
H A Drelocations_armv7.yaml327 - address: 0x00000016
335 - address: 0x00000046
343 - address: 0x00000012
351 - address: 0x00000000
359 - address: 0x0000000A
367 - address: 0x0000004A
375 - address: 0x00000006
383 - address: 0x00000000
405 - address: 0x00000028
413 - address: 0x0000001A
[all …]
H A Drelocations_ppc_big_endian.yaml398 - address: 0x00000030
406 - address: 0x00000000
414 - address: 0x0000002C
422 - address: 0x0000012C
430 - address: 0x00000028
438 - address: 0x00000000
446 - address: 0x00000024
454 - address: 0x000000BC
502 - address: 0x00000064
510 - address: 0x00000034
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-objdump/X86/
H A Dstart-stop-address.test2 // RUN: llvm-objdump -d %t.out --start-address=0x18 --stop-address=0x2f | FileCheck %s
3 // RUN: llvm-objdump -d %t.out --start-address=0xc --stop-address=0x11 | FileCheck %s --check-prefi…
4 // RUN: llvm-objdump -d %t.out --start-address=0x40 --stop-address=0x47 | FileCheck %s --check-pref…
5 // RUN: llvm-objdump -d %t.out --start-address=0x40 | FileCheck %s --check-prefix START
6 // RUN: llvm-objdump -d %t.out --stop-address=0x11 | FileCheck %s --check-prefix STOP
7 // RUN: llvm-objdump -d %t.out --start-address=0xffffffff | FileCheck %s --check-prefix OUT-OF-RANGE
70 // RUN: not llvm-objdump %t.out --start-address=0x40 --stop-address=0x3f 2>&1 | FileCheck %s --chec…
71 // RUN: not llvm-objdump %t.out --start-address=0x40 --stop-address=0x40 2>&1 | FileCheck %s --chec…
72 // ERRMSG: start address should be less than stop address
/llvm-project-15.0.7/compiler-rt/lib/interception/
H A Dinterception_win.cpp218 u8* function = (u8*)address; in IsMemoryPadding()
318 uptr address = image_address; in AllocateTrampolineRegion() local
439 switch (*(u64*)address) { in GetInstructionSize()
444 switch (*(u8*)address) { in GetInstructionSize()
490 switch (*(u16*)(address)) { in GetInstructionSize()
512 switch (*(u8*)address) { in GetInstructionSize()
526 switch (*(u16*)address) { in GetInstructionSize()
602 switch (*(u32*)(address)) { in GetInstructionSize()
619 switch (*(u8*)address) { in GetInstructionSize()
623 switch (*(u16*)address) { in GetInstructionSize()
[all …]
/llvm-project-15.0.7/lldb/test/Shell/ObjectFile/wasm/
H A Dembedded-debug-sections.yaml15 # CHECK: VM address: 0x0
21 # CHECK: VM address: 0x0
27 # CHECK: VM address: 0x0
33 # CHECK: VM address: 0x0
39 # CHECK: VM address: 0x0
45 # CHECK: VM address: 0x0
51 # CHECK: VM address: 0x0
57 # CHECK: VM address: 0x0
63 # CHECK: VM address: 0x0
69 # CHECK: VM address: 0x0
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-xray/AArch64/
H A Dextract-instrmap.test9 # CHECK-NEXT: - { id: 1, address: 0x420, function: 0x420, kind: function-enter, always-instrument: …
10 # CHECK-NEXT: - { id: 1, address: 0x440, function: 0x420, kind: function-exit, always-instrument: t…
11 # CHECK-NEXT: - { id: 2, address: 0x464, function: 0x464, kind: function-enter, always-instrument: …
12 # CHECK-NEXT: - { id: 2, address: 0x484, function: 0x464, kind: function-exit, always-instrument: t…
13 # CHECK-NEXT: - { id: 3, address: 0x4A8, function: 0x4A8, kind: function-enter, always-instrument: …
14 # CHECK-NEXT: - { id: 3, address: 0x4C8, function: 0x4A8, kind: function-exit, always-instrument: t…
21 # MANGLED-NEXT: - { id: 1, address: 0x420, function: 0x420, kind: function-enter, always-instrument…
22 # MANGLED-NEXT: - { id: 1, address: 0x440, function: 0x420, kind: function-exit, always-instrument:…
23 # MANGLED-NEXT: - { id: 2, address: 0x464, function: 0x464, kind: function-enter, always-instrument…
24 # MANGLED-NEXT: - { id: 2, address: 0x484, function: 0x464, kind: function-exit, always-instrument:…
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/Instruction/ARM/
H A DEmulateInstructionARM.cpp2560 MemA[address,4] = S[d+r]; address = address+4; in EmulateVPUSH()
2653 S[d+r] = MemA[address,4]; address = address+4; in EmulateVPOP()
2656 word1 = MemA[address,4]; word2 = MemA[address+4,4]; address = address+8; in EmulateVPOP()
3916 R[i] = MemA[address, 4]; address = address + 4; in EmulateLDM()
8774 address = address + 4; in EmulateRFE()
11226 S[d+r] = MemA[address,4]; address = address+4; in EmulateVLDM()
11228 word1 = MemA[address,4]; word2 = MemA[address+4,4]; address = address+8; in EmulateVLDM()
11368 address = address + 4; in EmulateVLDM()
11384 address = address + 8; in EmulateVLDM()
11565 address = address + 4; in EmulateVSTM()
[all …]

12345678910>>...96