blob: 8d5231b36896a24a364f28827c1fc5ed3a09ac76 [file]
// Checks that BOLT correctly errors out on compressed debug sections.
//
// RUN: yaml2obj %p/Inputs/compressed-debug-sections.yaml -o %t.exe
// RUN: not llvm-bolt %t.exe -o %t.bolt --update-debug-sections 2>&1 | FileCheck %s
//
// CHECK: compressed debug section '.debug_info' detected. --update-debug-sections requires uncompressed debug info