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
91 lines
2.5 KiB
Plaintext
91 lines
2.5 KiB
Plaintext
# Check that llvm-lib doesn't list the members of an archive which contains the
|
|
# special member /<ECSYMBOLS>/.
|
|
|
|
# RUN: yaml2obj --docnum=1 %s -o %t.lib
|
|
# RUN: llvm-nm --print-armap %t.lib 2>&1 | FileCheck --check-prefix=NM1 %s
|
|
# NM1: truncated or malformed archive (invalid EC symbols size (3))
|
|
|
|
--- !Arch
|
|
Members:
|
|
- Name: '/'
|
|
Size: '0'
|
|
- Name: '/'
|
|
Size: '0'
|
|
- Name: '/<ECSYMBOLS>/'
|
|
Size: '3'
|
|
Content: 010203
|
|
PaddingByte: 0
|
|
...
|
|
|
|
# RUN: yaml2obj --docnum=2 %s -o %t.lib
|
|
# RUN: llvm-nm --print-armap %t.lib 2>&1 | FileCheck --check-prefix=NM2 %s
|
|
# NM2: truncated or malformed archive (invalid EC symbols size. Size was 7, but expected 8)
|
|
|
|
--- !Arch
|
|
Members:
|
|
- Name: '/'
|
|
Size: '0'
|
|
- Name: '/'
|
|
Size: '12'
|
|
Content: 010000001000000000000000
|
|
- Name: '/<ECSYMBOLS>/'
|
|
Size: '7'
|
|
Content: 02000000010001
|
|
PaddingByte: 0
|
|
...
|
|
|
|
# RUN: yaml2obj --docnum=3 %s -o %t.lib
|
|
# RUN: llvm-nm --print-armap %t.lib 2>&1 | FileCheck --check-prefix=NM3 %s
|
|
# NM3: truncated or malformed archive (invalid EC symbol index 2 is larger than member count 1)
|
|
|
|
--- !Arch
|
|
Members:
|
|
- Name: '/'
|
|
Size: '0'
|
|
- Name: '/'
|
|
Size: '12'
|
|
Content: 010000001000000000000000
|
|
- Name: '/<ECSYMBOLS>/'
|
|
Size: '8'
|
|
Content: 0100000002006100
|
|
- Name: 'a.obj'
|
|
Size: '0'
|
|
...
|
|
|
|
|
|
# RUN: yaml2obj --docnum=4 %s -o %t.lib
|
|
# RUN: llvm-nm --print-armap %t.lib 2>&1 | FileCheck --check-prefix=NM4 %s
|
|
# NM4: truncated or malformed archive (invalid EC symbol index 0)
|
|
|
|
--- !Arch
|
|
Members:
|
|
- Name: '/'
|
|
Size: '0'
|
|
- Name: '/'
|
|
Size: '12'
|
|
Content: 010000001000000000000000
|
|
- Name: '/<ECSYMBOLS>/'
|
|
Size: '8'
|
|
Content: 0100000000006100
|
|
- Name: 'a.obj'
|
|
Size: '0'
|
|
...
|
|
|
|
# RUN: yaml2obj --docnum=5 %s -o %t.lib
|
|
# RUN: llvm-nm --print-armap %t.lib 2>&1 | FileCheck --check-prefix=NM5 %s
|
|
# NM5: truncated or malformed archive (malformed EC symbol names: not null-terminated)
|
|
|
|
--- !Arch
|
|
Members:
|
|
- Name: '/'
|
|
Size: '0'
|
|
- Name: '/'
|
|
Size: '12'
|
|
Content: 010000001000000000000000
|
|
- Name: '/<ECSYMBOLS>/'
|
|
Size: '8'
|
|
Content: 0100000001006161
|
|
- Name: 'a.obj'
|
|
Size: '0'
|
|
...
|