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
32 lines
1.7 KiB
Plaintext
32 lines
1.7 KiB
Plaintext
RUN: llvm-objdump --macho --dyld-info %p/Inputs/chained-fixups.macho-x86_64 | \
|
|
RUN: FileCheck -DNAME=%p/Inputs/chained-fixups.macho-x86_64 %s
|
|
RUN: llvm-otool -dyld_info %p/Inputs/chained-fixups.macho-x86_64 | \
|
|
RUN: FileCheck -DNAME=%p/Inputs/chained-fixups.macho-x86_64 %s
|
|
|
|
## See chained-fixups.test for how the test input was generated.
|
|
CHECK: [[NAME]]:
|
|
CHECK-NEXT: dyld information:
|
|
CHECK-NEXT: segment section address pointer type addend dylib symbol/vm address
|
|
CHECK-NEXT: __DATA_CONST __const 0x3E0 0x8010000000000001 bind 0x0 libdylib _weakImport (weak import)
|
|
CHECK-NEXT: __DATA_CONST __const 0x3E8 0x8000000000000000 bind 0x0 flat-namespace _dynamicLookup
|
|
CHECK-NEXT: __DATA __data 0x3F0 0x00200000000003F0 rebase 0x3F0
|
|
CHECK-NEXT: __DATA __data 0x400 0x8000000000000004 bind 0x0 weak _weak
|
|
CHECK-NEXT: __DATA __data 0x1410 0x8000000000000003 bind 0x0 weak _weakLocal
|
|
CHECK-NEXT: __DATA __data 0x3410 0x8010000000000002 bind 0x0 libdylib _dylib
|
|
CHECK-NEXT: __DATA __data 0x3418 0x800000002A000002 bind 0x2A libdylib _dylib
|
|
|
|
|
|
## TODO: Print opcode-based fixups/binds as well
|
|
## For now, test that execution doesn't fail if the input uses those.
|
|
RUN: llvm-objdump --macho --dyld-info %p/Inputs/bind.macho-x86_64
|
|
RUN: llvm-objdump --macho --dyld-info %p/Inputs/bind.macho-x86_64
|
|
|
|
|
|
## If both -chained_fixups and -dyld_info are passed, otool prints dyld_info
|
|
## output first. Match that.
|
|
RUN: llvm-otool -chained_fixups -dyld_info \
|
|
RUN: %p/Inputs/chained-fixups.macho-x86_64 | \
|
|
RUN: FileCheck --check-prefix=BOTH %s
|
|
BOTH: dyld information:
|
|
BOTH: chained fixups header
|