1## Verifies that BOLT emits DWARF line table with the same size if 2## no functions with debug info were modified. 3 4REQUIRES: system-linux 5 6RUN: %clang %cflags %S/Inputs/hello.c -g -o %t 7RUN: llvm-bolt %t -o %t1 --update-debug-sections --funcs=_start 8RUN: llvm-readobj -S %t > %t2 9RUN: llvm-readobj -S %t1 >> %t2 10RUN: FileCheck %s --input-file %t2 11 12## Check the input and grab .debug_line size. 13CHECK: File: 14CHECK: Name: .debug_line 15CHECK: Size: [[SIZE:[0-9]+]] 16 17## Verify .debug_line size is the same after BOLT. 18CHECK: File: 19CHECK: Name: .debug_line 20CHECK: Size: 21CHECK-SAME: [[SIZE]] 22