Files
TheRock/compiler/amd-llvm/llvm/test/tools/llvm-readtapi/remove.test
T
derek.holloway 7502bf64a4
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
Flatten subprojects into a single base monorepo
2026-09-02 16:34:47 -07:00

277 lines
4.8 KiB
Plaintext

; RUN: rm -rf %t
; RUN: split-file %s %t
// Check that arch removal is accepted with tbdv5 and various inlined contents.
; RUN: llvm-readtapi --remove -arch x86_64h %t/libfat.tbd -o %t/libslim.tbd 2>&1 | FileCheck --allow-empty %s
; RUN: llvm-readtapi --compare %t/libslim.tbd %t/libslim_expected.tbd
; RUN: llvm-readtapi --remove -arch x86_64h %t/libfat2.tbd -o %t/libslim2.tbd 2>&1 | FileCheck --allow-empty %s
; RUN: llvm-readtapi --compare %t/libslim2.tbd %t/libslim_expected.tbd
; RUN: llvm-readtapi --remove -arch x86_64 %t/libfat3.tbd -o %t/libslim3.tbd 2>&1 | FileCheck --allow-empty %s
; RUN: llvm-readtapi --compare %t/libslim3.tbd %t/libslim3_expected.tbd
; CHECK-NOT: error
; CHECK-NOT: warning
//--- libfat.tbd
{
"libraries": [
{
"exported_symbols": [
{
"data": {
"global": [
"_sym1"
]
},
"targets": [
"x86_64-macos"
]
},
{
"data": {
"global": [
"_sym2"
]
},
"targets": [
"x86_64h-macos"
]
}
],
"install_names": [
{
"name": "/usr/lib/internal/libfat.dylib"
}
],
"parent_umbrellas": [
{
"umbrella": "fat"
}
],
"target_info": [
{
"target": "x86_64-macos"
},
{
"target": "x86_64h-macos"
}
]
}
],
"main_library": {
"install_names": [
{
"name": "/usr/lib/libfat.dylib"
}
],
"reexported_libraries": [
{
"names": [
"/usr/lib/internal/libfat.dylib"
]
}
],
"target_info": [
{
"target": "x86_64-macos"
},
{
"target": "x86_64h-macos"
}
]
},
"tapi_tbd_version": 5
}
//--- libfat2.tbd
{
"libraries": [
{
"exported_symbols": [
{
"data": {
"global": [
"_sym1"
]
},
"targets": [
"x86_64-macos"
]
},
{
"data": {
"global": [
"_sym2"
]
},
"targets": [
"x86_64h-macos"
]
}
],
"install_names": [
{
"name": "/usr/lib/internal/libfat.dylib"
}
],
"parent_umbrellas": [
{
"umbrella": "fat"
}
],
"target_info": [
{
"target": "x86_64-macos"
},
{
"target": "x86_64h-macos"
}
]
}
],
"main_library": {
"install_names": [
{
"name": "/usr/lib/libfat.dylib"
}
],
"reexported_libraries": [
{
"names": [
"/usr/lib/internal/libfat.dylib"
]
}
],
"target_info": [
{
"target": "x86_64-macos"
}
]
},
"tapi_tbd_version": 5
}
//--- libfat3.tbd
{
"libraries": [
{
"exported_symbols": [
{
"data": {
"global": [
"_sym1"
]
}
}
],
"install_names": [
{
"name": "/usr/lib/internal/libfat.dylib"
}
],
"target_info": [
{
"target": "x86_64-macos"
}
]
}
],
"main_library": {
"install_names": [
{
"name": "/usr/lib/libfat.dylib"
}
],
"reexported_libraries": [
{
"names": [
"/usr/lib/internal/libfat.dylib"
],
"targets": [
"x86_64-macos"
]
}
],
"target_info": [
{
"target": "x86_64-macos"
},
{
"target": "x86_64h-macos"
}
]
},
"tapi_tbd_version": 5
}
//--- libslim_expected.tbd
{
"libraries": [
{
"exported_symbols": [
{
"data": {
"global": [
"_sym1"
]
}
}
],
"install_names": [
{
"name": "/usr/lib/internal/libfat.dylib"
}
],
"parent_umbrellas": [
{
"umbrella": "fat"
}
],
"target_info": [
{
"target": "x86_64-macos"
}
]
}
],
"main_library": {
"install_names": [
{
"name": "/usr/lib/libfat.dylib"
}
],
"reexported_libraries": [
{
"names": [
"/usr/lib/internal/libfat.dylib"
]
}
],
"target_info": [
{
"target": "x86_64-macos"
}
]
},
"tapi_tbd_version": 5
}
//--- libslim3_expected.tbd
{
"main_library": {
"install_names": [
{
"name": "/usr/lib/libfat.dylib"
}
],
"target_info": [
{
"target": "x86_64h-macos"
}
]
},
"tapi_tbd_version": 5
}