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
74 lines
3.0 KiB
Plaintext
74 lines
3.0 KiB
Plaintext
RUN: llvm-mc %S/brief.s -filetype obj -triple x86_64-apple-darwin -o - \
|
|
RUN: | llvm-dwarfdump -name=not_there_at_all - | \
|
|
RUN: FileCheck %s --check-prefix=EMPTY --allow-empty
|
|
EMPTY: {{^$}}
|
|
|
|
RUN: llvm-mc %S/brief.s -filetype obj -triple x86_64-apple-darwin -o - \
|
|
RUN: | llvm-dwarfdump -name=main - | FileCheck %s
|
|
CHECK: : DW_TAG_subprogram
|
|
CHECK-NOT: {{:}}
|
|
CHECK: DW_AT_name ("main")
|
|
CHECK-NOT: {{:}}
|
|
|
|
RUN: llvm-dwarfdump %S/../../dsymutil/Inputs/libfat-test.a \
|
|
RUN: -name=x86_64h_var -name=i386_var \
|
|
RUN: | FileCheck %s --check-prefix=MULTI
|
|
MULTI: Mach-O 32-bit i386
|
|
MULTI-NOT: {{: DW}}
|
|
MULTI: : DW_TAG_variable
|
|
MULTI-NOT: {{: DW}}
|
|
MULTI: DW_AT_name ("i386_var")
|
|
MULTI-NOT: {{: DW}}
|
|
MULTI: Mach-O 64-bit x86-64
|
|
MULTI: : DW_TAG_variable
|
|
MULTI-NOT: {{: DW}}
|
|
MULTI: DW_AT_name ("x86_64h_var")
|
|
MULTI-NOT: {{: DW}}
|
|
|
|
RUN: llvm-mc %S/brief.s -filetype obj -triple x86_64-apple-darwin -o - \
|
|
RUN: | llvm-dwarfdump -name=int - | FileCheck %s --check-prefix=TYPES
|
|
TYPES: : DW_TAG_base_type
|
|
TYPES-NOT: {{:}}
|
|
TYPES: DW_AT_name ("int")
|
|
TYPES-NOT: {{:}}
|
|
|
|
This is one where --name observably behaves different from --find.
|
|
RUN: llvm-dwarfdump %S/../../dsymutil/Inputs/odr-anon-namespace/1.o \
|
|
RUN: -name="(anonymous namespace)" \
|
|
RUN: | FileCheck %s --check-prefix=EMPTY
|
|
|
|
Test the -ignore-case option.
|
|
RUN: llvm-mc %S/brief.s -filetype obj -triple x86_64-apple-darwin -o - \
|
|
RUN: | llvm-dwarfdump -name=Main - | FileCheck %s -check-prefix=EMPTY
|
|
RUN: llvm-mc %S/brief.s -filetype obj -triple x86_64-apple-darwin -o - \
|
|
RUN: | llvm-dwarfdump -name=Main -i - | FileCheck %s
|
|
RUN: llvm-mc %S/brief.s -filetype obj -triple x86_64-apple-darwin -o - \
|
|
RUN: | llvm-dwarfdump -name=MAIN -ignore-case - | FileCheck %s
|
|
|
|
Test the -regex option.
|
|
RUN: llvm-mc %S/brief.s -filetype obj -triple x86_64-apple-darwin -o - \
|
|
RUN: | llvm-dwarfdump -regex -name=m.+n - | FileCheck %s
|
|
RUN: llvm-mc %S/brief.s -filetype obj -triple x86_64-apple-darwin -o - \
|
|
RUN: | llvm-dwarfdump -x -name=m.+n - | FileCheck %s
|
|
RUN: llvm-mc %S/brief.s -filetype obj -triple x86_64-apple-darwin -o - \
|
|
RUN: | llvm-dwarfdump -x -i -name=M.+n - | FileCheck %s
|
|
RUN: llvm-mc %S/brief.s -filetype obj -triple x86_64-apple-darwin -o - \
|
|
RUN: | not llvm-dwarfdump -x -name=+ - 2>&1 | FileCheck %s --check-prefix=ERR
|
|
ERR: error
|
|
RUN: llvm-dwarfdump %S/../../dsymutil/Inputs/libfat-test.a \
|
|
RUN: -x -name=x86_64h_var -name=i386_var \
|
|
RUN: | FileCheck %s --check-prefix=MULTI
|
|
RUN: llvm-dwarfdump %S/../../dsymutil/Inputs/libfat-test.a \
|
|
RUN: -x -name=.*86.*_var \
|
|
RUN: | FileCheck %s --check-prefix=MULTI
|
|
|
|
Test the -show-children behavior.
|
|
RUN: llvm-mc %S/brief.s -filetype obj -triple x86_64-apple-darwin -o - \
|
|
RUN: | llvm-dwarfdump -name="brief.c" - | FileCheck %s -check-prefix=NOCHILDREN
|
|
NOCHILDREN: DW_AT_name ("brief.c")
|
|
NOCHILDREN-NOT: DW_TAG
|
|
|
|
Test that --name also searches in DW_AT_linkage_name.
|
|
RUN: llc -O0 %S/statistics.ll -filetype obj -o - \
|
|
RUN: | llvm-dwarfdump -name=_Z4cubei - | FileCheck %s --check-prefix=LINKAGE
|
|
LINKAGE: DW_AT_name ("cube") |