CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
40 lines
1000 B
C
40 lines
1000 B
C
// RUN: %clang %s -O0 -Wno-strict-prototypes -emit-llvm -S -o - | FileCheck %s
|
|
|
|
// This should call rb_define_global_function, not rb_f_chop.
|
|
void rb_define_global_function (const char*,void(*)(void),int);
|
|
static void rb_f_chop(void);
|
|
void Init_String(void) {
|
|
rb_define_global_function("chop", rb_f_chop, 0);
|
|
}
|
|
static void rb_f_chop(void) {
|
|
}
|
|
|
|
// CHECK: call{{.*}}rb_define_global_function
|
|
|
|
// PR10335
|
|
typedef void (* JSErrorCallback)(void);
|
|
void js_GetErrorMessage(void);
|
|
void JS_ReportErrorNumber(JSErrorCallback errorCallback, ...);
|
|
void Interpret(void) {
|
|
JS_ReportErrorNumber(js_GetErrorMessage, 0);
|
|
|
|
// CHECK: call {{.*}}void ({{.*}}, ...) @JS_ReportErrorNumber({{.*}}@js_GetErrorMessage
|
|
}
|
|
|
|
|
|
|
|
|
|
// PR10337
|
|
struct sigaction { int (*_sa_handler)(int); };
|
|
typedef int SigHandler (void);
|
|
typedef struct sigaction sighandler_cxt;
|
|
SigHandler *rl_set_sighandler(ohandler)
|
|
sighandler_cxt *ohandler; {
|
|
return 0;
|
|
}
|
|
|
|
void rl_set_signals(void) {
|
|
SigHandler *oh;
|
|
oh = rl_set_sighandler(0);
|
|
}
|