mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 12:26:07 +00:00
13 lines
663 B
Plaintext
13 lines
663 B
Plaintext
;; Testing that we print out INFO message when binary has split dwarf.
|
|
|
|
; RUN: mkdir -p %t
|
|
; RUN: cd %t
|
|
; RUN: llvm-mc -dwarf-version=4 -filetype=obj -triple x86_64-unknown-linux %p/Inputs/dwarf4-df-dualcu-main.s \
|
|
; RUN: -split-dwarf-file=main.dwo -o main.o
|
|
; RUN: llvm-mc -dwarf-version=4 -filetype=obj -triple x86_64-unknown-linux %p/Inputs/dwarf4-df-dualcu-helper.s \
|
|
; RUN: -split-dwarf-file=helper.dwo -o helper.o
|
|
; RUN: %clang %cflags -gdwarf-5 -gsplit-dwarf=split main.o helper.o -o main.exe -fno-pic -no-pie
|
|
; RUN: llvm-bolt main.exe -o main.exe.bolt --update-debug-sections | FileCheck -check-prefix=BOLT %s
|
|
|
|
; BOLT: BOLT-INFO: processing split DWARF
|