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
59 lines
2.1 KiB
LLVM
59 lines
2.1 KiB
LLVM
; RUN: llc -filetype=obj -mtriple=x86_64-pc-linux -o %t.o %s
|
|
; RUN: llvm-nm %t.o | FileCheck --check-prefix="MANGLED" %s
|
|
; RUN: llvm-nm %t.o --no-demangle | FileCheck --check-prefix="MANGLED" %s
|
|
; RUN: llvm-nm -C %t.o | FileCheck --check-prefix="DEMANGLED" %s
|
|
; RUN: llvm-nm --demangle %t.o | FileCheck --check-prefix="DEMANGLED" %s
|
|
|
|
; RUN: llc -filetype=obj -mtriple=x86_64-apple-darwin9 -o %t.macho %s
|
|
; RUN: llvm-nm %t.macho | FileCheck --check-prefix="MACHO-MANGLED" %s
|
|
; RUN: llvm-nm -C %t.macho | FileCheck --check-prefix="MACHO-DEMANGLED" %s
|
|
|
|
; RUN: llc -filetype=obj -mtriple=x86_64-pc-win32 -o %t.coff %s
|
|
; RUN: llvm-nm %t.coff | FileCheck --check-prefix="COFF-MANGLED" %s
|
|
; RUN: llvm-nm -C %t.coff | FileCheck --check-prefix="COFF-DEMANGLED" %s
|
|
|
|
; Show that the last of --no-demangle/--demangle wins:
|
|
; RUN: llvm-nm --demangle --no-demangle %t.o | FileCheck --check-prefix="MANGLED" %s
|
|
; RUN: llvm-nm --no-demangle --demangle %t.o | FileCheck --check-prefix="DEMANGLED" %s
|
|
; RUN: llvm-nm --no-demangle --demangle --no-demangle %t.o | FileCheck --check-prefix="MANGLED" %s
|
|
; RUN: llvm-nm --demangle --no-demangle --demangle %t.o | FileCheck --check-prefix="DEMANGLED" %s
|
|
|
|
define i32 @_Z3fooi(i32) #0 {
|
|
entry:
|
|
ret i32 1
|
|
}
|
|
|
|
define float @_Z3barf(float) #0 {
|
|
entry:
|
|
ret float 0.000000e+00
|
|
}
|
|
|
|
define i32 @_RNvC1a3baz(i32) #0 {
|
|
entry:
|
|
ret i32 1
|
|
}
|
|
|
|
; MANGLED: 0000000000000010 T _RNvC1a3baz
|
|
; MANGLED: 0000000000000008 T _Z3barf
|
|
; MANGLED: 0000000000000000 T _Z3fooi
|
|
|
|
; MACHO-MANGLED: 0000000000000020 T __RNvC1a3baz
|
|
; MACHO-MANGLED: 0000000000000010 T __Z3barf
|
|
; MACHO-MANGLED: 0000000000000000 T __Z3fooi
|
|
|
|
; COFF-MANGLED: 00000020 T _RNvC1a3baz
|
|
; COFF-MANGLED: 00000010 T _Z3barf
|
|
; COFF-MANGLED: 00000000 T _Z3fooi
|
|
|
|
; DEMANGLED: 0000000000000010 T a::baz
|
|
; DEMANGLED: 0000000000000008 T bar(float)
|
|
; DEMANGLED: 0000000000000000 T foo(int)
|
|
|
|
; MACHO-DEMANGLED: 0000000000000020 T a::baz
|
|
; MACHO-DEMANGLED: 0000000000000010 T bar(float)
|
|
; MACHO-DEMANGLED: 0000000000000000 T foo(int)
|
|
|
|
; COFF-DEMANGLED: 00000020 T a::baz
|
|
; COFF-DEMANGLED: 00000010 T bar(float)
|
|
; COFF-DEMANGLED: 00000000 T foo(int)
|