This patch reverts patch "DWARFv5 default: Switch bolt tests to use DWARFv4 since Bolt doesn't support v5 yet" and places the -gdwarf-4 flag to the global cflags config file. Reviewed By: Amir Differential Revision: https://reviews.llvm.org/D118283
10 lines
352 B
Plaintext
10 lines
352 B
Plaintext
# Verify that bolt correctly handle AArch64 relocations in case of enabling
|
|
# update-debug-sections option.
|
|
|
|
RUN: %clang %cflags -g %p/../Inputs/asm_foo.s %p/../Inputs/asm_main.c -o %t.exe
|
|
RUN: llvm-bolt %t.exe -o %t -update-debug-sections
|
|
|
|
CHECK: BOLT-INFO: Target architecture: aarch64
|
|
CHECK-NOT: Reloc num: 10
|
|
CHECK-NOT: unsupported relocation type
|