/llvm-project/compiler-rt/test/tsan/ |
H A D | unaligned_race.cpp | 1 // RUN: %clangxx_tsan -O1 %s -o %t && %deflake %run %t | FileCheck %s 12 static NOINLINE void access(volatile void *p, int sz, int rw) { in access() argument 13 if (rw) { in access() 15 case 0: __sanitizer_unaligned_store16((void *)p, 0); break; in access() 16 case 1: __sanitizer_unaligned_store32((void *)p, 0); break; in access() 17 case 2: __sanitizer_unaligned_store64((void *)p, 0); break; in access() 22 case 0: __sanitizer_unaligned_load16((void *)p); break; in access() 23 case 1: __sanitizer_unaligned_load32((void *)p); break; in access() 24 case 2: __sanitizer_unaligned_load64((void *)p); break; in access() 40 static NOINLINE void access3(bool main, int sz1, bool rw, volatile char *p) { in access3() argument [all …]
|
H A D | unaligned_norace.cpp | 1 // RUN: %clangxx_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s 18 static void access(char *p, int sz, int rw) { in access() argument 19 if (rw) { in access() 21 case 0: __tsan_unaligned_write2(p); break; in access() 22 case 1: __tsan_unaligned_write4(p); break; in access() 23 case 2: __tsan_unaligned_write8(p); break; in access() 28 case 0: __tsan_unaligned_read2(p); break; in access() 29 case 1: __tsan_unaligned_read4(p); break; in access() 30 case 2: __tsan_unaligned_read8(p); break; in access() 50 for (int rw = 0; rw < 2; rw++) { in Test() local [all …]
|
/llvm-project/lldb/unittests/Process/Utility/ |
H A D | LinuxProcMapsTest.cpp | 1 //===-- LinuxProcMapsTest.cpp -------- [all...] |
/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/ |
H A D | decorate_proc_maps.cpp | 1 // RUN: %clangxx -g %s -o %t 2 // RUN: %env_tool_opts=decorate_proc_maps=1 %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-%tool_… 4 // REQUIRES: stable-runtime 48 // CHECK-asan: rw-p {{.*}} [low shadow] 49 // CHECK-asan: ---p {{.*}} [shadow gap] 50 // CHECK-asan: rw-p {{.*}} [high shadow] 52 // CHECK-hwasan: rw-p {{.*}} [low shadow] 53 // CHECK-hwasan: ---p {{.*}} [shadow gap] 54 // CHECK-hwasan: rw-p {{.*}} [high shadow] 56 // CHECK-msan: ---p {{.*}} [invalid] [all …]
|
/llvm-project/lldb/test/API/functionalities/postmortem/minidump-new/ |
H A D | regions-linux-map.yaml | 1 --- !minidump 3 - Type: SystemInfo 9 - Type: MiscInfo 11 - Type: LinuxMaps 13 400d9000-400db000 r-xp 00000000 b3:04 227 /system/bin/app_process 14 400db000-400dc000 r--p 00001000 b3:04 227 /system/bin/app_process 15 400dc000-400dd000 rw-p 00000000 00:00 0 16 400dd000-400ec000 r-xp 00000000 b3:04 300 /system/bin/linker 17 400ec000-400ed000 r--p 00000000 00:00 0 18 400ed000-400ee000 r--p 0000f000 b3:04 300 /system/bin/linker [all …]
|
/llvm-project/compiler-rt/test/hwasan/TestCases/Linux/ |
H A D | decorate-proc-maps.c | 1 // RUN: %clang_hwasan -mllvm -hwasan-globals=0 -g %s -o %t 2 // RUN: %env_hwasan_opts=decorate_proc_maps=1 %run %t 2>&1 | FileCheck %s --check-prefix=A 3 // RUN: %env_hwasan_opts=decorate_proc_maps=1 %run %t 2>&1 | FileCheck %s --check-prefix=B 5 // A: rw-p {{.*}}hwasan threads] 6 // A-NEXT: ---p {{.*}}shadow gap] 7 // A-NEXT: rw-p {{.*}}low shadow] 8 // A-NEXT: ---p {{.*}}shadow gap] 9 // A-NEXT: rw-p {{.*}}high shadow] 11 // B-DAG: rw-p {{.*}}SizeClassAllocator: region info] 12 // B-DAG: rw-p {{.*}}LargeMmapAllocator] [all …]
|
/llvm-project/llvm/test/CodeGen/PowerPC/ |
H A D | aix-xcoff-data-sections.ll | 1 ; RUN: llc -verify-machineinstrs -mcpu=pwr4 -mattr=-altivec -mtriple powerpc-ibm-aix-xcoff \ 2 ; RUN: -data-sections -xcoff-traceback-table=false < %s | \ 3 ; RUN: FileCheck --check-prefixes=CHECK,CHECK32 %s 4 ; RUN: llc -verify-machineinstrs -mcpu=pwr4 -mattr=-altivec -mtriple powerpc64-ibm-aix-xcoff -data-… 5 ; RUN: FileCheck --check-prefixes=CHECK,CHECK64 %s 6 ; RUN: llc -verify-machineinstrs -mcpu=pwr4 -mattr=-altivec -mtriple powerpc-ibm-aix-xcoff \ 7 ; RUN: -filetype=obj -data-sections -xcoff-traceback-table=false -o %t.o < %s 8 ; RUN: llvm-objdump -D --symbol-description %t.o | FileCheck -D#NFA=2 --check-prefix=CHECKOBJ %s 9 ; RUN: llvm-readobj -s %t.o | FileCheck --check-prefix=CHECKSYM %s 11 ;; Test to see if the default is correct for -data-sections on AIX. [all …]
|
H A D | pgo-ref-directive.ll | 1 ; RUN: rm -rf %t && split-file %s %t 3 ; RUN: llc -verify-machineinstrs -mcpu=pwr4 -mattr=-altivec -mtriple powerpc-ibm-aix-xcoff \ 4 ; RUN: -xcoff-traceback-table=false < %t/no-ref.ll | FileCheck %s --check-prefixes=NOREF 5 ; RUN: llc -verify-machineinstrs -mcpu=pwr4 -mattr=-altivec -mtriple powerpc-ibm-aix-xcoff \ 6 ; RUN: -xcoff-traceback-table=false --filetype=obj < %t/no-ref.ll -o %t/no-ref.o 7 ; RUN: llvm-objdump %t/no-ref.o -r | FileCheck %s --check-prefix=NOREF-OBJ 9 ; RUN: llc -verify-machineinstrs -mcpu=pwr4 -mattr=-altivec -mtriple powerpc-ibm-aix-xcoff \ 10 ; RUN: -xcoff-traceback-table=false < %t/no-vnds.ll | FileCheck %s --check-prefixes=NOVNDS 11 ; RUN: llc -verify-machineinstrs -mcpu=pwr4 -mattr=-altivec -mtriple powerpc-ibm-aix-xcoff \ 12 ; RUN: -xcoff-traceback-table=false --filetype=obj < %t/no-vnds.ll -o %t/no-vnds.o [all …]
|
/llvm-project/llvm/test/tools/llvm-objdump/MachO/ |
H A D | archive-headers.test | 1 RUN: llvm-objdump %p/Inputs/macho-universal-archive.x86_64.i386 --macho --archive-headers --arch al… 3 RUN: llvm-objdump %p/Inputs/macho-universal-archive.x86_64.i386 --macho --archive-headers --arch al… 4 RUN: | FileCheck %s -check-prefix=OFFSETS 5 RUN: llvm-objdump %p/Inputs/macho-universal-archive.x86_64.i386 --macho --archive-headers --arch al… 6 RUN: | FileCheck %s -check-prefix=NON-VERBOSE 9 CHECK: Archive : {{.*}}/macho-universal-archive.x86_64.i386 (architecture x86_64) 10 CHECK: -rw-r--r--124/11 44 {{.*}} __.SYMDEF SORTED 11 CHECK: -rw-r--r--124/0 860 {{.*}} hello.o 12 CHECK: Archive : {{.*}}/macho-universal-archive.x86_64.i386 (architecture i386) 13 CHECK: -rw-r--r--124/11 60 {{.*}} __.SYMDEF SORTED [all …]
|
/llvm-project/llvm/test/tools/llvm-objdump/ |
H A D | archive-headers.test | 1 # RUN: llvm-objdump -a %p/Inputs/liblong_filenames.a | FileCheck %s 2 # RUN: llvm-objdump --archive-headers %p/Inputs/liblong_filenames.a | FileCheck %s 5 # CHECK-NEXT: {{.*}}liblong_filenames.a(1.o): file format elf64-x86-64 6 # CHECK: rw-r--r-- 204299/200 1416 {{.*}} 1.o 7 # CHECK: {{.*}}liblong_filenames.a(2.o): file format elf64-x86-64 8 # CHECK: rw-r--r-- 204299/200 1224 {{.*}} 2.o 9 # CHECK: {{.*}}liblong_filenames.a(3.o): file format elf64-x86-64 10 # CHECK: rw-r--r-- 204299/200 1312 {{.*}} 3.o 11 # CHECK: {{.*}}liblong_filenames.a(4.o): file format elf64-x86-64 12 # CHECK: rw-r--r-- 204299/200 957 {{.*}} 4.o [all …]
|
/llvm-project/llvm/test/tools/llvm-objcopy/ELF/ |
H A D | partitions.test | 6 RUN: llvm-objcopy --extract-main-partition %p/Inputs/partitions.elf %t1 7 RUN: llvm-objcopy --extract-partition=part1 %p/Inputs/partitions.elf %t2 8 RUN: llvm-objcopy --extract-partition=part2 %p/Inputs/partitions.elf %t3 10 RUN: llvm-readelf --headers --sections --symbols %t1 | FileCheck --check-prefix=MAIN %s 11 RUN: llvm-readelf --headers --sections --symbols %t2 | FileCheck --check-prefix=PART1 %s 12 RUN: llvm-readelf --headers --sections --symbols %t3 | FileCheck --check-prefix=PART2 %s 15 MAIN-NEXT: Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 16 MAIN-NEXT: Class: ELF64 17 MAIN-NEXT: Data: 2's complement, little endian 18 MAIN-NEXT: Version: 1 (current) [all …]
|
/llvm-project/bolt/test/AArch64/ |
H A D | runtime-relocs.test | 3 RUN: yaml2obj %p/Inputs/rels-so.yaml &> %t.so 4 RUN: yaml2obj %p/Inputs/rels-exe.yaml &> %t.exe 5 RUN: llvm-bolt %t.so -o %t.bolt.so --use-old-text=0 --lite=0 6 RUN: llvm-bolt %t.exe -o %t.bolt.exe --use-old-text=0 --lite=0 10 RUN: llvm-readelf -rW %t.bolt.so | FileCheck %s -check-prefix=CHECKLIB 18 RUN: llvm-readelf -rW %t.bolt.exe | FileCheck %s -check-prefix=CHECKEXE 27 // the initial binary was built with gcc and ld with -mtls-dialect=trad flag. 29 RUN: yaml2obj %p/Inputs/tls-trad.yaml &> %t.trad.so 30 RUN: llvm-bolt %t.trad.so -o %t.trad.bolt.so --use-old-text=0 --lite=0 31 RUN: llvm-readelf -rW %t.trad.so | FileCheck %s -check-prefix=CHECKTRAD [all …]
|
/llvm-project/libunwind/test/ |
H A D | aix_signal_unwind.pass.sh.S | 1 //===---------- 60 p = reinterpret_cast<uint32_t *>(&TBTable->tb_ext); global() define [all...] |
/llvm-project/llvm/test/Object/ |
H A D | archive-toc.test | 1 RUN: cd %p 4 RUN: env TZ=GMT llvm-ar tv Inputs/GNU.a | FileCheck %s --check-prefix=GNU -strict-whitespace 6 GNU: rw-r--r-- 500/500 8 Nov 19 02:57 2004 evenlen 7 GNU-NEXT: rw-r--r-- 500/500 7 Nov 19 02:57 2004 oddlen 8 GNU-NEXT: rwxr-xr-x 500/500 1465 Nov 19 03:01 2004 very_long_bytecode_file_name.bc 9 GNU-NEXT: rw-r--r-- 500/500 2280 Nov 19 03:04 2004 IsNAN.o 13 RUN: env TZ=GMT llvm-ar tv Inputs/MacOSX.a | FileCheck %s --check-prefix=OSX -strict-whitespace 15 OSX-NOT: __.SYMDEF 16 OSX: rw-r--r-- 501/501 8 Nov 19 02:57 2004 evenlen 17 OSX-NEXT: rw-r--r-- 501/501 8 Nov 19 02:57 2004 oddlen [all …]
|
H A D | objdump-private-headers.test | 1 RUN: llvm-objdump -p %p/Inputs/program-headers.elf-i386 \ 2 RUN: | FileCheck %s -check-prefix ELF-i386 3 RUN: llvm-objdump -p %p/Inputs/program-headers.elf-x86-64 \ 4 RUN: | FileCheck %s -check-prefix ELF-x86-64 5 RUN: llvm-objdump -p %p/Inputs/macho-rpath-x86_64 \ 6 RUN: | FileCheck %s -check-prefix MACHO-x86_64 8 ELF-i386: Program Header: 9 ELF-i386: LOAD off 0x00000000 vaddr 0x08048000 paddr 0x08048000 align 2**12 10 ELF-i386: filesz 0x00000134 memsz 0x00000134 flags r-x 11 ELF-i386: STACK off 0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**2 [all …]
|
/llvm-project/clang/test/Rewriter/ |
H A D | rewrite-modern-atautoreleasepool.mm | 1 // RUN: %clang_cc1 -E %s -o %t.mm 2 // RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %t.mm -o %t-rw.cpp 3 // RUN: FileCheck --input-file=%t-rw.cpp %s 4 …RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -Wno-address-of-temporary -D"Class=void*" -D"id=void*" … 13 - (id) Meth; 18 - (id) Meth { 20 id p = [I MyAlloc]; 21 if (!p)
|
H A D | line-generation-test.m | 1 // RUN: %clang_cc1 -E %s -o %t.mm 2 // RUN: %clang_cc1 -fms-extensions -rewrite-objc -debug-info-kind=limited %t.mm -o %t-rw.cpp 3 // RUN: FileCheck -check-prefix CHECK-LINE --input-file=%t-rw.cpp %s 4 // RUN: %clang_cc1 -fms-extensions -rewrite-objc %t.mm -o %t-rwnog.cpp 5 // RUN: FileCheck -check-prefix CHECK-NOLINE --input-file=%t-rwnog.cpp %s 21 - (void) doSomething { 29 MyObject* p; 30 p.isTickledPink = p.myLeader; // ok 31 p->_isTickledPink = p->_myLeader; 32 return p->_isTickledPink; [all …]
|
H A D | rewrite-modern-ivars.mm | 1 // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc %s -o %… 2 … %clang_cc1 -fsyntax-only -std=gnu++98 -fblocks -Wno-address-of-temporary -D"Class=void*" -D"id=vo… 4 @protocol P @end protocol 9 id<P, P1> Q_IVAR; 11 void (^_block)(id<P>); field 12 void (*_fptr)(void (^_block)(id<P>)); field 14 id<P, P1> (^ext_block)(id<P>, INTF<P,P1>*, INTF*); 17 INTF<P> *(*imp_fptr)(void (^_block)(id<P>, INTF<P,P1>*)); 27 id<P, P1> Q_IVAR; 29 void (^_block)(id<P>); field [all …]
|
H A D | rewrite-protocol-property.mm | 1 … RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-r… 2 // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -fblocks -Wno-address-of-temporary -Did="void*" -D"SE… 7 @protocol P protocol 12 @interface A : NSObject <P> {
|
H A D | rewrite-vararg.m | 1 …RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-ru… 2 // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -fblocks -Wno-address-of-temporary -D"id=void*" -D"SE… 9 @protocol P protocol 10 -(void)ParliamentFunkadelic; 14 NSObject <P> *_dataSource; 23 -(void)WhateverFoo {
|
/llvm-project/lld/test/ELF/linkerscript/ |
H A D | insert-after.test | 2 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %p/Inputs/insert-after.s -o %t1.o 8 # RUN: ld.lld %t1.o -o %t1 - [all...] |
H A D | insert-before.test | 2 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %p/Inputs/insert-after.s -o %t1.o 8 # RUN: ld.lld %t1.o -o %t1 - [all...] |
/llvm-project/llvm/test/tools/llvm-objdump/XCOFF/ |
H A D | disassemble-symbol-description.test | 1 # RUN: llvm-objdump -D %p/Inputs/xcoff-section-headers.o | \ 2 # RUN: FileCheck --check-prefixes=COMMON,PLAIN %s 4 # RUN: llvm-objdump -D --symbol-description %p/Inputs/xcoff-section-headers.o | \ 5 # RUN: FileCheck --check-prefixes=COMMON,DESC %s 7 # RUN: llvm-objdump -D -r --symbol-description %p/Inputs/xcoff-section-headers.o | \ 8 # RUN: FileCheck --check-prefixes=COMMON,DESC,RELOC %s 10 # xcoff-section-headers.o Compiled with IBM XL C/C++ for AIX, V16.1.0 11 # compiler command: xlc -qtls -o xcoff-section-headers.o -c test.c 23 COMMON: Inputs/xcoff-section-headers.o: file format aixcoff-rs6000 27 COMMON-NEXT: 0: 80 62 00 04 lwz 3, 4(2) [all …]
|
H A D | disassemble-symbol-description64.test | 1 # REQUIRES: powerpc-registered-target 3 # RUN: llvm-objdump -D %p/Inputs/xcoff-section-headers64.o | \ 4 # RUN: FileCheck --check-prefixes=COMMON,PLAIN %s 6 # RUN: llvm-objdump -D --symbol-description %p/Inputs/xcoff-section-headers64.o | \ 7 # RUN: FileCheck --check-prefixes=COMMON,DESC %s 9 # RUN: llvm-objdump -D -r --symbol-description %p/Inputs/xcoff-section-headers64.o | \ 10 # RUN: FileCheck --check-prefixes=COMMON,DESC,RELOC,COMMON-RELOC %s 12 ## xcoff-section-headers64.o Compiled with IBM XL C/C++ for AIX, V16.1.0 13 ## compiler command: xlc -q64 -qtls -o xcoff-section-headers64.o -c test.c 25 COMMON: Inputs/xcoff-section-headers64.o: file format aix5coff64-rs6000 [all …]
|
/llvm-project/lldb/source/Host/common/ |
H A D | File.cpp | 1 //===-- File.cpp -------- 46 File::OpenOptions rw = GetStreamOpenModeFromOptions() local 325 File::OpenOptions rw = Close() local 523 uint8_t *p = (uint8_t *)buf; Read() local 587 const uint8_t *p = (const uint8_t *)buf; Write() local 651 uint8_t *p = (uint8_t *)buf; Read() local 711 const uint8_t *p = (const uint8_t *)buf; Write() local 780 File::OpenOptions rw = ConvertOpenOptionsForPOSIXOpen() local [all...] |