mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-24 14:20:17 +00:00
4940128ace
The DWO Unit DIE, doesn't have low_pc/high_pc, so we were printing this error for valid cases. Reviewed By: maksfb Differential Revision: https://reviews.llvm.org/D155032
13 lines
576 B
Plaintext
13 lines
576 B
Plaintext
; RUN: rm -rf %t
|
|
; RUN: mkdir %t
|
|
; RUN: cd %t
|
|
; RUN: llvm-mc -dwarf-version=4 -filetype=obj -triple x86_64-unknown-linux %p/Inputs/dwarf4-df-basic.s \
|
|
; RUN: -split-dwarf-file=main.dwo -o main.o
|
|
; RUN: %clang %cflags -gdwarf-4 -gsplit-dwarf=split main.o -o main.exe
|
|
; RUN: llvm-bolt main.exe -o main.exe.bolt --update-debug-sections -v 1 &> log
|
|
; RUN: cat log | FileCheck %s -check-prefix=BOLT-LOG-CHECK
|
|
|
|
; Test check we don't print out a warning in -v 1 when Unit DIE doesn't have low_pc/high_pc
|
|
|
|
; BOLT-LOG-CHECK-NOT: BOLT-ERROR: cannot update ranges for DIE in Unit offset
|