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
77 lines
3.8 KiB
Plaintext
77 lines
3.8 KiB
Plaintext
; RUN: split-file %p/Inputs/dwarf4-str-split-dwarf.s %t
|
|
; RUN: cd %t
|
|
; RUN: llvm-mc --split-dwarf-file=main.dwo --triple=x86_64-unknown-linux-gnu \
|
|
; RUN: --filetype=obj main.s -o=main.o
|
|
; RUN: llvm-mc --split-dwarf-file=helper.dwo --triple=x86_64-unknown-linux-gnu \
|
|
; RUN: --filetype=obj helper.s -o=helper.o
|
|
; RUN: %clang %cflags -gdwarf-4 -gsplit-dwarf=split main.o helper.o -o main.exe
|
|
; RUN: llvm-dwp -e main.exe -o main.exe.dwp
|
|
; RUN: llvm-dwarfdump --show-form --verbose --debug-str main.exe.dwp \
|
|
; RUN: | FileCheck -check-prefix=PRE-BOLT-STR %s
|
|
; RUN: llvm-dwarfdump --show-form --verbose --debug-str-offsets main.exe.dwp \
|
|
; RUN: | FileCheck -check-prefix=PRE-BOLT-STR-OFFSETS %s
|
|
; RUN: llvm-bolt main.exe -o main.exe.bolt --update-debug-sections
|
|
; RUN: llvm-dwarfdump --show-form --verbose --debug-str main.dwo.dwo \
|
|
; RUN: | FileCheck -check-prefix=BOLT-MAIN-STR %s
|
|
; RUN: llvm-dwarfdump --show-form --verbose --debug-str-offsets main.dwo.dwo \
|
|
; RUN: | FileCheck -check-prefix=BOLT-MAIN-STR-OFFSETS %s
|
|
; RUN: llvm-dwarfdump --show-form --verbose --debug-str helper.dwo.dwo \
|
|
; RUN: | FileCheck -check-prefix=BOLT-HELPER-STR %s
|
|
; RUN: llvm-dwarfdump --show-form --verbose --debug-str-offsets helper.dwo.dwo \
|
|
; RUN: | FileCheck -check-prefix=BOLT-HELPER-STR-OFFSETS %s
|
|
|
|
;; For DWARF4, this test checks that strings are split correctly from a combined
|
|
;; section in DWP file, into appropriate .dwo files.
|
|
|
|
; PRE-BOLT-STR: 0x00000000: "main"
|
|
; PRE-BOLT-STR: 0x00000005: "int"
|
|
; PRE-BOLT-STR: 0x00000009: "clang version 22.0.0"
|
|
; PRE-BOLT-STR: 0x0000001e: "main.cpp"
|
|
; PRE-BOLT-STR: 0x00000027: "main.dwo"
|
|
; PRE-BOLT-STR: 0x00000030: "_Z9getReturnv"
|
|
; PRE-BOLT-STR: 0x0000003e: "getReturn"
|
|
; PRE-BOLT-STR: 0x00000048: "helper.cpp"
|
|
; PRE-BOLT-STR: 0x00000053: "helper.dwo"
|
|
|
|
; PRE-BOLT-STR-OFFSETS: 0x00000000: Contribution size = 20, Format = DWARF32, Version = 4
|
|
; PRE-BOLT-STR-OFFSETS: 0x00000000: 00000000 "main"
|
|
; PRE-BOLT-STR-OFFSETS: 0x00000004: 00000005 "int"
|
|
; PRE-BOLT-STR-OFFSETS: 0x00000008: 00000009 "clang version 22.0.0"
|
|
; PRE-BOLT-STR-OFFSETS: 0x0000000c: 0000001e "main.cpp"
|
|
; PRE-BOLT-STR-OFFSETS: 0x00000010: 00000027 "main.dwo"
|
|
; PRE-BOLT-STR-OFFSETS: 0x00000014: Contribution size = 24, Format = DWARF32, Version = 4
|
|
; PRE-BOLT-STR-OFFSETS: 0x00000014: 00000030 "_Z9getReturnv"
|
|
; PRE-BOLT-STR-OFFSETS: 0x00000018: 0000003e "getReturn"
|
|
; PRE-BOLT-STR-OFFSETS: 0x0000001c: 00000005 "int"
|
|
; PRE-BOLT-STR-OFFSETS: 0x00000020: 00000009 "clang version 22.0.0"
|
|
; PRE-BOLT-STR-OFFSETS: 0x00000024: 00000048 "helper.cpp"
|
|
; PRE-BOLT-STR-OFFSETS: 0x00000028: 00000053 "helper.dwo"
|
|
|
|
; BOLT-MAIN-STR: 0x00000000: "main"
|
|
; BOLT-MAIN-STR: 0x00000005: "int"
|
|
; BOLT-MAIN-STR: 0x00000009: "clang version 22.0.0"
|
|
; BOLT-MAIN-STR: 0x0000001e: "main.cpp"
|
|
; BOLT-MAIN-STR: 0x00000027: "main.dwo"
|
|
|
|
; BOLT-MAIN-STR-OFFSETS: 0x00000000: Contribution size = 20, Format = DWARF32, Version = 4
|
|
; BOLT-MAIN-STR-OFFSETS: 0x00000000: 00000000 "main"
|
|
; BOLT-MAIN-STR-OFFSETS: 0x00000004: 00000005 "int"
|
|
; BOLT-MAIN-STR-OFFSETS: 0x00000008: 00000009 "clang version 22.0.0"
|
|
; BOLT-MAIN-STR-OFFSETS: 0x0000000c: 0000001e "main.cpp"
|
|
; BOLT-MAIN-STR-OFFSETS: 0x00000010: 00000027 "main.dwo"
|
|
|
|
; BOLT-HELPER-STR: 0x00000000: "_Z9getReturnv"
|
|
; BOLT-HELPER-STR: 0x0000000e: "getReturn"
|
|
; BOLT-HELPER-STR: 0x00000018: "int"
|
|
; BOLT-HELPER-STR: 0x0000001c: "clang version 22.0.0"
|
|
; BOLT-HELPER-STR: 0x00000031: "helper.cpp"
|
|
; BOLT-HELPER-STR: 0x0000003c: "helper.dwo"
|
|
|
|
; BOLT-HELPER-STR-OFFSETS: 0x00000000: Contribution size = 24, Format = DWARF32, Version = 4
|
|
; BOLT-HELPER-STR-OFFSETS: 0x00000000: 00000000 "_Z9getReturnv"
|
|
; BOLT-HELPER-STR-OFFSETS: 0x00000004: 0000000e "getReturn"
|
|
; BOLT-HELPER-STR-OFFSETS: 0x00000008: 00000018 "int"
|
|
; BOLT-HELPER-STR-OFFSETS: 0x0000000c: 0000001c "clang version 22.0.0"
|
|
; BOLT-HELPER-STR-OFFSETS: 0x00000010: 00000031 "helper.cpp"
|
|
; BOLT-HELPER-STR-OFFSETS: 0x00000014: 0000003c "helper.dwo"
|