| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | attributed-auto-deduction.cpp | 5 auto single_int = [](int i) __attribute__ (( pcs("aapcs") )) { in deduce() 8 auto multiple_int = [](int i) __attribute__ (( pcs("aapcs") )) in deduce() 9 __attribute__ (( pcs("aapcs") )) { in deduce() 13 auto single_void = []() __attribute__ (( pcs("aapcs") )) { }; in deduce() 14 auto multiple_void = []() __attribute__ (( pcs("aapcs") )) in deduce() 15 __attribute__ (( pcs("aapcs") )) { }; in deduce() 18 auto ( __attribute__ (( pcs("aapcs") )) single_attribute() ) { } in single_attribute() 19 auto ( ( __attribute__ (( pcs("aapcs") )) ( ( __attribute__ (( pcs("aapcs") )) multiple_attributes(… in multiple_attributes()
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_coverage_libcdep_new.cpp | 50 const uptr* pcs, uptr len) { in WriteModuleCoverage() argument 54 WriteToFile(fd, pcs, len * sizeof(*pcs)); in WriteModuleCoverage() 64 uptr* pcs = static_cast<uptr*>(InternalAlloc(len * sizeof(uptr))); in SanitizerDumpCoverage() local 66 internal_memcpy(pcs, unsorted_pcs, len * sizeof(uptr)); in SanitizerDumpCoverage() 67 Sort(pcs, len); in SanitizerDumpCoverage() 74 const uptr pc = pcs[i]; in SanitizerDumpCoverage() 77 if (!GetModuleAndOffsetForPc(pc, nullptr, 0, &pcs[i])) { in SanitizerDumpCoverage() 81 uptr module_base = pc - pcs[i]; in SanitizerDumpCoverage() 97 WriteModuleCoverage(file_path, module_name, &pcs[module_start_idx], in SanitizerDumpCoverage() 103 InternalFree(pcs); in SanitizerDumpCoverage() [all …]
|
| H A D | sanitizer_stacktrace.cpp | 60 void BufferedStackTrace::Init(const uptr *pcs, uptr cnt, uptr extra_top_pc) { in Init() argument 63 internal_memcpy(trace_buffer, pcs, cnt * sizeof(trace_buffer[0])); in Init()
|
| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | callingconv-iamcu.c | 35 int __attribute__((pcs("aapcs", "aapcs"))) pcs1(void); // expected-error {{'pcs' attribute takes on… 36 int __attribute__((pcs())) pcs2(void); // expected-error {{'pcs' attribute takes one argument}} 37 int __attribute__((pcs(pcs1))) pcs3(void); // expected-error {{'pcs' attribute requires a string}} \ 39 int __attribute__((pcs(0))) pcs4(void); // expected-error {{'pcs' attribute requires a string}} 41 int __attribute__((pcs("aapcs"))) pcs5(void); // expected-warning {{'pcs' calling convention is not… 42 int __attribute__((pcs("aapcs-vfp"))) pcs6(void); // expected-warning {{'pcs' calling convention is… 43 int __attribute__((pcs("foo"))) pcs7(void); // expected-error {{invalid PCS type}}
|
| H A D | callingconv.c | 44 int __attribute__((pcs("aapcs", "aapcs"))) pcs1(void); // expected-error {{'pcs' attribute takes on… 45 int __attribute__((pcs())) pcs2(void); // expected-error {{'pcs' attribute takes one argument}} 46 int __attribute__((pcs(pcs1))) pcs3(void); // expected-error {{'pcs' attribute requires a string}} \ 48 int __attribute__((pcs(0))) pcs4(void); // expected-error {{'pcs' attribute requires a string}} 50 int __attribute__((pcs("aapcs"))) pcs5(void); // expected-warning {{'pcs' calling convention is not… 51 int __attribute__((pcs("aapcs-vfp"))) pcs6(void); // expected-warning {{'pcs' calling convention is… 52 int __attribute__((pcs("foo"))) pcs7(void); // expected-error {{invalid PCS type}}
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | arm-pcs.cpp | 18 float __attribute__((pcs("aapcs-vfp"))) variadic(S s, ...) { in variadic() 31 float __attribute__((pcs("aapcs-vfp"))) baz(float x, float y) { in baz() 39 float __attribute__((pcs("aapcs-vfp"))) foo(S s) { in foo() 47 float __attribute__((pcs("aapcs"))) bar(S s) { in bar()
|
| /llvm-project-15.0.7/compiler-rt/test/builtins/Unit/arm/ |
| H A D | call_apsr.h | 19 __attribute__((noinline, pcs("aapcs"))) static uint32_t call_apsr_f(float a, float b, in call_apsr_f() 20 … __attribute__((pcs("aapcs"))) void (*fn)(float, float)) { in call_apsr_f() 28 __attribute__((noinline, pcs("aapcs"))) static uint32_t call_apsr_d(double a, double b, in call_apsr_d() 29 … __attribute__((pcs("aapcs"))) void (*fn)(double, double)) { in call_apsr_d()
|
| H A D | aeabi_cdcmple_test.c | 13 extern __attribute__((pcs("aapcs"))) void __aeabi_cdcmple(double a, double b); 14 extern __attribute__((pcs("aapcs"))) void __aeabi_cdrcmple(double a, double b);
|
| H A D | aeabi_cfcmple_test.c | 13 extern __attribute__((pcs("aapcs"))) void __aeabi_cfcmple(float a, float b); 14 extern __attribute__((pcs("aapcs"))) void __aeabi_cfrcmple(float a, float b);
|
| H A D | aeabi_frsub_test.c | 10 extern __attribute__((pcs("aapcs"))) float __aeabi_frsub(float a, float b);
|
| H A D | aeabi_drsub_test.c | 10 extern __attribute__((pcs("aapcs"))) double __aeabi_drsub(double a, double b);
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/ |
| H A D | sanitizer_stacktrace_test.cpp | 280 const uptr pcs[] = { in TEST() local 286 for (uptr i = 0; i < ARRAY_SIZE(pcs); i++) in TEST() 287 Printf("pc%zu: 0x%zx\n", i, pcs[i]); in TEST() 288 for (uptr i = 1; i < ARRAY_SIZE(pcs); i++) { in TEST() 289 EXPECT_GT(pcs[i], pcs[0]); in TEST() 290 EXPECT_LT(pcs[i], pcs[0] + 1000); in TEST() 291 for (uptr j = 0; j < i; j++) EXPECT_NE(pcs[i], pcs[j]); in TEST()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/Utility/ |
| H A D | HistoryThread.cpp | 29 std::vector<lldb::addr_t> pcs, in HistoryThread() argument 32 m_pcs(pcs), m_extended_unwind_token(LLDB_INVALID_ADDRESS), m_queue_name(), in HistoryThread() 36 std::make_unique<HistoryUnwind>(*this, pcs, pcs_are_call_addresses); in HistoryThread()
|
| H A D | HistoryUnwind.cpp | 26 HistoryUnwind::HistoryUnwind(Thread &thread, std::vector<lldb::addr_t> pcs, in HistoryUnwind() argument 28 : Unwind(thread), m_pcs(pcs), in HistoryUnwind()
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | arm-pcs.c | 3 typedef int __attribute__((pcs("aapcs"))) (*aapcs_fn)(void); 4 typedef int __attribute__((pcs("aapcs-vfp"))) (*aapcs_vfp_fn)(void);
|
| H A D | debug-info-cc.c | 119 __attribute__((pcs("aapcs"))) int add_aapcs(int a, int b) { in add_aapcs() 125 __attribute__((pcs("aapcs-vfp"))) int add_aapcs_vfp(int a, int b) { in add_aapcs_vfp()
|
| /llvm-project-15.0.7/llvm/test/tools/sancov/ |
| H A D | print_coverage_pcs.test | 2 RUN: sancov -print-coverage-pcs %p/Inputs/test-linux_x86_64 | FileCheck %s --check-prefix=LINUX 4 RUN: sancov -print-coverage-pcs %p/Inputs/test-windows_x86_64 | FileCheck %s --check-prefix=WINDOWS 5 RUN: sancov -print-coverage-pcs %p/Inputs/test-darwin_x86_64 | FileCheck %s --check-prefix=DARWIN
|
| /llvm-project-15.0.7/lldb/test/API/tools/lldb-server/ |
| H A D | TestGdbRemoteThreadsInStopReply.py | 59 pcs = pcs_text.split(",") 60 self.assertEquals(len(thread_ids), len(pcs)) 63 for i in range(0, len(pcs)): 64 thread_pcs[int(thread_ids[i], 16)] = pcs[i]
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_stack_trace.cpp | 34 void VarSizeStackTrace::Init(const uptr *pcs, uptr cnt, uptr extra_top_pc) { in Init() argument 36 internal_memcpy(trace_buffer, pcs, cnt * sizeof(trace_buffer[0])); in Init()
|
| H A D | tsan_stack_trace.h | 27 void Init(const uptr *pcs, uptr cnt, uptr extra_top_pc = 0);
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/ |
| H A D | tsan_stack_trace.cpp | 34 void VarSizeStackTrace::Init(const uptr *pcs, uptr cnt, uptr extra_top_pc) { in Init() argument 36 internal_memcpy(trace_buffer, pcs, cnt * sizeof(trace_buffer[0])); in Init()
|
| H A D | tsan_stack_trace.h | 27 void Init(const uptr *pcs, uptr cnt, uptr extra_top_pc = 0);
|
| /llvm-project-15.0.7/lldb/source/Plugins/MemoryHistory/asan/ |
| H A D | MemoryHistoryASan.cpp | 123 std::vector<lldb::addr_t> pcs; in CreateHistoryThreadFromValueObject() local 128 pcs.push_back(pc); in CreateHistoryThreadFromValueObject() 136 new HistoryThread(*process_sp, tid, pcs, pcs_are_call_addresses); in CreateHistoryThreadFromValueObject()
|
| /llvm-project-15.0.7/compiler-rt/include/sanitizer/ |
| H A D | coverage_interface.h | 29 void __sanitizer_dump_coverage(const uintptr_t *pcs, uintptr_t len);
|
| /llvm-project-15.0.7/llvm/test/tools/sancov/AArch64/ |
| H A D | print_coverage_pcs.test | 2 RUN: not sancov -print-coverage-pcs %p/../Inputs/test-linux_android_aarch64 2>&1 | FileCheck %s --c…
|