/llvm-project/llvm/unittests/Support/ |
H A D | AddressRangeTest.cpp | 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 19 const uint64_t StartAddr = 0x1000; in TEST() 20 const uint64_t EndAddr = 0x2000; in TEST() 26 EXPECT_FALSE(Range.contains(0)); in TEST() 61 const AddressRange EndsBeforeRangeStart(0, StartAddr - 1); in TEST() 62 const AddressRange EndsAtRangeStart(0, StartAddr); in TEST() 66 const AddressRange StartsAtRangeEnd(EndAddr, EndAddr + 0x100); in TEST() 67 const AddressRange StartsAfterRangeEnd(EndAddr + 1, EndAddr + 0x100); in TEST() 81 Ranges.insert(AddressRange(0x1000, 0x2000)); in TEST() 82 Ranges.insert(AddressRange(0x2000, 0x3000)); in TEST() [all …]
|
/llvm-project/llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/ |
H A D | odr-namespace-extension.test | 7 # RUN: echo ' - { sym: __Z3foov, objAddr: 0x0, binAddr: 0x10000, size: 0x10 }' >> %t2.map 16 # CHECK: 0x0000000b: DW_TAG_compile_unit 20 # CHECK: 0x[[INT:[0-9a-f]*]]: DW_TAG_base_type 24 # CHECK: DW_AT_type (0x00000000[[INT]] 28 magic: 0xFEEDFACF 29 cputype: 0x01000007 30 cpusubtype: 0x00000003 31 filetype: 0x00000001 34 flags: 0x00002000 35 reserved: 0x00000000 [all …]
|
H A D | odr-two-units-in-single-file.test | 12 # RUN: echo ' - { sym: __Z3foov, objAddr: 0x0, binAddr: 0x10000, size: 0x10 }' >> %t2.map 21 # CHECK: 0x[[CLASS1:[0-9a-f]*]]: DW_TAG_class_type{{.*[[:space:]].*}}DW_AT_name{{.*}}"class1" 30 # CHECK: DW_AT_type (0x00000000[[CLASS1]] 40 # CHECK: DW_AT_type (0x00000000[[CLASS1]] 46 magic: 0xFEEDFACF 47 cputype: 0x01000007 48 cpusubtype: 0x00000003 49 filetype: 0x00000001 52 flags: 0x00002000 53 reserved: 0x00000000 [all …]
|
H A D | odr-template-parameters.test | 7 # RUN: echo ' - { sym: __Z3foov, objAddr: 0x0, binAddr: 0x10000, size: 0x10 }' >> %t2.map 16 # CHECK: 0x0000000b: DW_TAG_compile_unit 20 # CHECK: 0x[[CHAR:[0-9a-f]*]]: DW_TAG_base_type 22 # CHECK: 0x[[FLOAT:[0-9a-f]*]]: DW_TAG_base_type 24 # CHECK: 0x[[INT:[0-9a-f]*]]: DW_TAG_base_type 26 # CHECK: 0x[[CLASS:[0-9a-f]*]]: DW_TAG_class_type 29 # CHECK: DW_AT_type{{.*}}(0x[[INT]] "int" 31 # CHECK: DW_AT_type{{.*}}(0x[[CHAR]] "char" 33 # CHECK: DW_AT_type{{.*}}(0x[[FLOAT]] "float" 37 # CHECK: DW_AT_type (0x00000000[[CLASS]] [all …]
|
H A D | odr-recursive-dependence.test | 13 # RUN: echo ' - { sym: __Z3foov, objAddr: 0x0, binAddr: 0x10000, size: 0x10 }' >> %t2.map 29 # CHECK: 0x[[CLASS1:[0-9a-f]*]]: DW_TAG_class_type{{.*[[:space:]].*}}DW_AT_name{{.*}}"class1" 40 # CHECK: DW_AT_type (0x00000000[[CLASS1]] 46 magic: 0xFEEDFACF 47 cputype: 0x01000007 48 cpusubtype: 0x00000003 49 filetype: 0x00000001 52 flags: 0x00002000 53 reserved: 0x00000000 58 vmaddr: 0x00 [all …]
|
H A D | odr-parents.test | 7 # RUN: echo ' - { sym: __Z3foov, objAddr: 0x0, binAddr: 0x10000, size: 0x10 }' >> %t2.map 21 # CHECK: 0x[[INT:[0-9a-f]*]]: DW_TAG_base_type 26 # CHECK: 0x[[A_C1:[0-9a-f]*]]: DW_TAG_structure_type 29 # CHECK: DW_AT_type{{.*}}0x[[INT]] "int" 34 # CHECK: 0x[[B_C1:[0-9a-f]*]]: DW_TAG_structure_type 37 # CHECK: DW_AT_type{{.*}}0x[[INT]] "int" 40 # CHECK: 0x[[PTR_A_C1:[0-9a-f]*]]: DW_TAG_pointer_type{{.*[[:space:]].*}}DW_AT_type{{.*}}0x[[A_C1:[… 42 # CHECK: 0x[[PTR_B_C1:[0-9a-f]*]]: DW_TAG_pointer_type{{.*[[:space:]].*}}DW_AT_type{{.*}}0x[[B_C1:[… 44 # CHECK: 0x[[CONST_A_C1:[0-9a-f]*]]: DW_TAG_const_type{{.*[[:space:]].*}}DW_AT_type{{.*}}0x[[PTR_A_… 46 # CHECK: 0x[[CONST_B_C1:[0-9a-f]*]]: DW_TAG_const_type{{.*[[:space:]].*}}DW_AT_type{{.*}}0x[[PTR_B_… [all …]
|
H A D | odr-nested-types2.test | 7 # RUN: echo ' - { sym: __Z3foov, objAddr: 0x0, binAddr: 0x10000, size: 0x10 }' >> %t2.map 86 # CHECK: 0x[[NAMESPACE_STRUCT:[0-9a-f]*]]: DW_TAG_structure_type{{.*[[:space:]].*}}DW_AT_name{{.*}}… 88 # CHECK: 0x[[PTR_INNER_STRUCT:[0-9a-f]*]]: DW_TAG_pointer_type{{.*[[:space:]].*}}DW_AT_type{{.*}}0x… 90 # CHECK: 0x[[PTR_STRUCT_MEMBER:[0-9a-f]*]]: DW_TAG_pointer_type{{.*[[:space:]].*}}DW_AT_type{{.*}}0… 95 # CHECK: 0x[[INNER_STRUCT]]: DW_TAG_structure_type{{.*[[:space:]].*}}DW_AT_name{{.*}}"s2" 98 # CHECK: 0x[[INNER_STRUCT_MEMBER]]: DW_TAG_member{{.*[[:space:]].*}}DW_AT_name{{.*}}"m" 99 # CHECK: DW_AT_type{{.*}}0x[[NAMESPACE_STRUCT]] "namespace1::s3" 106 # CHECK: DW_AT_type{{.*}}0x00000000[[PTR_INNER_STRUCT]] "s1::s2 *" 110 # CHECK: DW_AT_type{{.*}}0x00000000[[PTR_STRUCT_MEMBER]] "m *" 118 # CHECK: DW_AT_type{{.*}}0x00000000[[PTR_INNER_STRUCT]] "s1::s2 *" [all …]
|
H A D | odr-fwd-declaration3.test | 7 # RUN: echo ' - { sym: __Z3foov, objAddr: 0x0, binAddr: 0x10000, size: 0x10 }' >> %t2.map 46 # CHECK: 0x[[CHAR:[0-9a-f]*]]: DW_TAG_base_type 49 # CHECK: 0x[[FLOAT:[0-9a-f]*]]: DW_TAG_base_type 52 # CHECK: 0x[[INT:[0-9a-f]*]]: DW_TAG_base_type 55 # CHECK: 0x[[CLASS1:[0-9a-f]*]]: DW_TAG_class_type{{.*[[:space:]].*}}DW_AT_name{{.*}}"class1" 57 # CHECK: DW_AT_type{{.*}}0x[[CHAR]] "char" 61 # CHECK: DW_AT_type{{.*}}0x[[FLOAT]] "float" 64 # CHECK: 0x[[CLASS2:[0-9a-f]*]]: DW_TAG_class_type{{.*[[:space:]].*}}DW_AT_name{{.*}}"class2" 65 # CHECK: DW_TAG_template_type_parameter{{.*[[:space:]].*}}DW_AT_type{{.*}}0x[[INT]] "int" 67 # CHECK: DW_AT_type{{.*}}0x[[CHAR]] "char" [all …]
|
H A D | odr-nested-types1.test | 7 # RUN: echo ' - { sym: __Z3foov, objAddr: 0x0, binAddr: 0x10000, size: 0x10 }' >> %t2.map 92 # CHECK: 0x[[PTR_INNER_STRUCT:[0-9a-f]*]]: DW_TAG_pointer_type{{.*[[:space:]].*}}DW_AT_type{{.*}}0x… 97 # CHECK: 0x[[INNER_STRUCT:[0-9a-f]*]]: DW_TAG_structure_type{{.*[[:space:]].*}}DW_AT_name{{.*}}"s2" 109 # CHECK: 0x[[INNER_STRUCT_MEMBER:[0-9a-f]*]]: DW_TAG_member{{.*[[:space:]].*}}DW_AT_name{{.*}}"m" 110 # CHECK: DW_AT_type{{.*}}0x[[ANON_STRUCT:[0-9a-f]*]] "(anonymous namespace)::s3" 113 # CHECK: 0x[[ANON_STRUCT]]: DW_TAG_structure_type{{.*[[:space:]].*}}DW_AT_name{{.*}}"s3" 115 # CHECK: 0x[[ANON_PTR_INNER_STRUCT:[0-9a-f]*]]: DW_TAG_pointer_type{{.*[[:space:]].*}}DW_AT_type{{.… 117 # CHECK: 0x[[PTR_STRUCT_MEMBER:[0-9a-f]*]]: DW_TAG_pointer_type{{.*[[:space:]].*}}DW_AT_type{{.*}}0… 121 # CHECK: DW_AT_type{{.*}}0x[[ANON_PTR_INNER_STRUCT]] "s1::s2 *" 125 # CHECK: DW_AT_type{{.*}}0x[[PTR_STRUCT_MEMBER]] "m *" [all …]
|
H A D | odr-types-in-subprogram1.test | 7 # RUN: echo ' - { sym: __Z3foov, objAddr: 0x0, binAddr: 0x10000, size: 0x10 }' >> %t2.map 74 # CHECK: 0x[[CHAR:[0-9a-f]*]]: DW_TAG_base_type 77 # CHECK: 0x[[FLOAT:[0-9a-f]*]]: DW_TAG_base_type 80 # CHECK: 0x[[INT:[0-9a-f]*]]: DW_TAG_base_type 83 # CHECK: 0x[[CONTAINER:[0-9a-f]*]]: DW_TAG_class_type{{.*[[:space:]].*}}DW_AT_name{{.*}}"Container" 87 # CHECK: DW_TAG_template_type_parameter{{.*[[:space:]].*}}DW_AT_type{{.*}}0x[[INT]] "int" 91 # CHECK: DW_TAG_template_type_parameter{{.*[[:space:]].*}}DW_AT_type{{.*}}0x[[INNER_CLASS:[0-9a-f]*… 93 # CHECK: 0x[[GLOBAL_CLASS:[0-9a-f]*]]: DW_TAG_class_type{{.*[[:space:]].*}}DW_AT_name{{.*}}"clas1" 101 # CHECK: DW_TAG_formal_parameter{{.*[[:space:]].*}}DW_AT_type{{.*}}0x[[INT]] "int" 103 # CHECK: 0x[[INNER_CLASS]]: DW_TAG_class_type{{.*[[:space:]].*}}DW_AT_name{{.*}}"clas1" [all …]
|
/llvm-project/llvm/test/tools/dsymutil/ |
H A D | odr-two-units-in-single-file.test | 9 # RUN: echo ' - { sym: __Z3foov, objAddr: 0x0, binAddr: 0x10000, size: 0x10 }' >> %t2.map 26 magic: 0xFEEDFACF 27 cputype: 0x01000007 28 cpusubtype: 0x00000003 29 filetype: 0x00000001 32 flags: 0x00002000 33 reserved: 0x00000000 38 vmaddr: 0x00 39 vmsize: 0x300 40 fileoff: 0x300 [all …]
|
/llvm-project/llvm/test/tools/dsymutil/X86/ |
H A D | tls-variable.test | 10 # RUN: echo ' - { sym: __Z3foov, objAddr: 0x0, binAddr: 0x10000, size: 0x10 }' >> %t2.map 24 # CHECK: DW_AT_location (DW_OP_const8u 0x{{.*}}, DW_OP_GNU_push_tls_address) 26 # CHECK: DW_AT_location (DW_OP_const8u 0x{{.*}}, DW_OP_form_tls_address) 30 magic: 0xFEEDFACF 31 cputype: 0x01000007 32 cpusubtype: 0x00000003 33 filetype: 0x00000001 36 flags: 0x00002000 37 reserved: 0x00000000 42 vmaddr: 0x00 [all …]
|
H A D | odr-two-units-in-single-file.test | 12 # RUN: echo ' - { sym: __Z3foov, objAddr: 0x0, binAddr: 0x10000, size: 0x10 }' >> %t2.map 25 # CHECK: DW_AT_type (0x00000000[[CLASS1:[0-9a-f]*]] 35 # CHECK: DW_AT_type (0x00000000[[CLASS1]] 41 magic: 0xFEEDFACF 42 cputype: 0x01000007 43 cpusubtype: 0x00000003 44 filetype: 0x00000001 47 flags: 0x00002000 48 reserved: 0x00000000 53 vmaddr: 0x00 [all …]
|
H A D | dwarf5-addrbase-broken.test | 13 # RUN: echo ' - { sym: __Z3foov, objAddr: 0x0, binAddr: 0x10000, size: 0x10 }' >> %t2.map 28 # CHECK: 0x00000043: NULL 35 # CHECK: 0x0000005b: NULL 39 magic: 0xFEEDFACF 40 cputype: 0x01000007 41 cpusubtype: 0x00000003 42 filetype: 0x00000001 45 flags: 0x00002000 46 reserved: 0x00000000 51 vmaddr: 0x00 [all …]
|
H A D | location-expression.test | 11 # RUN: echo ' - { sym: __Z3foov, objAddr: 0x0, binAddr: 0x10000, size: 0x10 }' >> %t2.map 24 …0x{{.*}}, DW_OP_form_tls_address, DW_OP_const8u 0x2000, DW_OP_form_tls_address, DW_OP_const8u 0x20… 28 …0x{{.*}}, DW_OP_form_tls_address, DW_OP_const8u 0x2000, DW_OP_form_tls_address, DW_OP_const8u 0x20… 36 magic: 0xFEEDFACF 37 cputype: 0x01000007 38 cpusubtype: 0x00000003 39 filetype: 0x00000001 42 flags: 0x00002000 43 reserved: 0x00000000 48 vmaddr: 0x00 [all …]
|
/llvm-project/lldb/test/Shell/Register/Core/Inputs/ |
H A D | x86-core-dump.cpp | 19 { 0x0706050403020100, 0x0F0E0D0C0B0A0908, in main() 20 0x1716151413121110, 0x1F1E1D1C1B1A1918, in main() 21 0x2726252423222120, 0x2F2E2D2C2B2A2928, in main() 22 0x3736353433323130, 0x3F3E3D3C3B3A3938, }, in main() 23 { 0x0807060504030201, 0x100F0E0D0C0B0A09, in main() 24 0x1817161514131211, 0x201F1E1D1C1B1A19, in main() 25 0x2827262524232221, 0x302F2E2D2C2B2A29, in main() 26 0x3837363534333231, 0x403F3E3D3C3B3A39, }, in main() 27 { 0x0908070605040302, 0x11100F0E0D0C0B0A, in main() 28 0x1918171615141312, 0x21201F1E1D1C1B1A, in main() [all …]
|
/llvm-project/llvm/test/MC/AsmParser/ |
H A D | dot-symbol-assignment.s | 5 # CHECK: .org 1024, 0 6 . = 0x400 7 lgdt 0x400 + 0x100 9 ljmpl $0x08, $(0x400 + 0x150) 12 # CHECK: .org 1280, 0 13 . = 0x400 + 0x100 15 .quad (0x400 + 0x110) 17 # CHECK: .org 1296, 0 18 . = 0x400 + 0x110 19 .quad 0x0 [all …]
|
/llvm-project/lld/test/ELF/linkerscript/ |
H A D | lma-overflow.test | 8 ram (rwx) : org = 0x1000, len = 0x300 9 flash (rwx) : org = 0x1000, len = 0x100 14 . += 0x200;
|
/llvm-project/llvm/test/Object/ |
H A D | objdump-no-sectionheaders.test | 9 # CHECK-NEXT: 0 PT_LOAD#1 00000100 0000000000400000 TEXT 25 Size: 0x100 26 Offset: 0x200 30 Size: 0x100 31 Offset: 0x300 35 Size: 0x200 36 Offset: 0x400 40 VAddr: 0x400000 41 MemSize: 0x100 44 VAddr: 0x400000 [all …]
|
/llvm-project/bolt/test/RISCV/Inputs/ |
H A D | plt-gnu-ld.yaml | 8 Entry: 0x5B0 12 VAddr: 0x40 13 Align: 0x8 18 VAddr: 0x270 19 - Type: 0x70000003 27 Align: 0x1000 28 Offset: 0x0 33 VAddr: 0x1E08 34 Align: 0x1000 39 VAddr: 0x1E20 [all …]
|
/llvm-project/lld/test/ELF/ |
H A D | x86-64-split-stack-prologue-adjust-fail.s | 6 # RUN: not ld.lld --defsym __morestack=0x100 --defsym __more_stack_nonsplit=0x200 %t1.o %t2.o %t3.o… 11 # RUN: not ld.lld -r --defsym __morestack=0x100 %t1.o %t2.o -o /dev/null 2>&1 | FileCheck %s -check… 14 # RUN: not ld.lld --defsym __morestack=0x100 --defsym _start=0x300 %t1.o %t2.o %t3.o -o /dev/null 2… 24 cmp %fs:0x70,%rsp
|
/llvm-project/llvm/lib/Target/NVPTX/MCTargetDesc/ |
H A D | NVPTXBaseInfo.h | 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 27 IsTexFlag = 0x80, 28 IsSuldMask = 0x300, 30 IsSustFlag = 0x400, 31 IsSurfTexQueryFlag = 0x800, 32 IsTexModeUnifiedFlag = 0x1000
|
/llvm-project/compiler-rt/test/asan/TestCases/Windows/ |
H A D | shadow_conflict_32.cpp | 7 // RUN: -Wl,--image-base,0x30000000,--disable-reloc-section \ 9 // RUN: %} %else %{ -link -base:0x30000000 -fixed -dynamicbase:no %} 19 fprintf(stderr, "should have failed to initialize, DLL got loaded near 0x%p\n", in main() 24 extern "C" __declspec(dllexport) int test_function() { return 0; } in test_function() 27 // CHECK: =={{[0-9:]+}}==Shadow memory range interleaves with an existing memory mapping. ASan cann… 28 // CHECK: =={{[0-9:]+}}==ASan shadow was supposed to be located in the [0x2fff0000-0x3fffffff] rang… 29 // CHECK: =={{[0-9:]+}}==Dumping process modules 31 // CHECK-DAG: {{0x30000000-0x300.....}} {{.*}}\shadow_conflict_32.cpp.tmp_dll.dll 32 // CHECK-DAG: {{0x........-0x........}} {{.*}}\shadow_conflict_32.cpp.tmp.exe 33 // CHECK-DAG: {{0x........-0x........}} {{.*}}\ntdll.dll
|
/llvm-project/lldb/test/API/commands/settings/use_source_cache/ |
H A D | main.cpp | 10 fprintf(stderr, "Hello, world => %d\n", calc(0, 1, 2)); in main() 11 return 0; in main() 313 int x300 = x299 * x298 + x297; in calc() local 314 int x301 = x300 * x299 + x298; in calc() 315 int x302 = x301 * x300 + x299; in calc() 316 int x303 = x302 * x301 + x300; in calc()
|
/llvm-project/llvm/test/tools/obj2yaml/ELF/ |
H A D | offset.yaml | 25 # BASIC-NEXT: Offset: 0x100 29 # BASIC-NEXT: AddressAlign: 0x10 33 # BASIC-NEXT: AddressAlign: 0x10 34 # BASIC-NEXT: Offset: 0x200 37 # BASIC-NEXT: AddressAlign: 0x100000000 38 # BASIC-NEXT: Offset: 0x210 58 ## The offset of .foo1 by default is 0x40, because it is placed right 65 AddressAlign: [[FIRSTADDRALIGN=0]] 68 ## sh_offset of .foo2 is 0x41. 74 ## sh_offset of .foo3 is 0x42. [all …]
|