1*097ddd35SVladislav Khmelevsky// This test checks that relocation addend used to address build_id fields 2*097ddd35SVladislav Khmelevsky// is properly disassembled by BOLT. 3*097ddd35SVladislav Khmelevsky 4*097ddd35SVladislav KhmelevskyRUN: yaml2obj %p/Inputs/build_id.yaml &> %t.exe 5*097ddd35SVladislav KhmelevskyRUN: llvm-bolt -print-disasm --print-only=print_build_id %t.exe -o %t.bolt | \ 6*097ddd35SVladislav KhmelevskyRUN: FileCheck %s 7*097ddd35SVladislav Khmelevsky 8*097ddd35SVladislav KhmelevskyCHECK: leaq build_id_note+16(%rip), %rbx 9