1 # REQUIRES: system-linux
3 # RUN: llvm-mc -filetype=obj -triple x86_64-unknown-linux %s -o %t.o
4 # RUN: ld.lld %t.o -o %t.exe -q
5 # RUN: llvm-bolt %t.exe --relocs -o %t.out --check-encoding |& FileCheck %s
9 .type _start, %function
13 ## Check that llvm-bolt uses non-symbolizing disassembler while validating
14 ## instruction encodings. If symbol "foo" below is symbolized, the encoded
15 ## instruction would have a different sequence of bytes from the input
16 ## sequence, as "foo" will not have any address assigned at that point.
19 # CHECK-NOT: mismatching LLVM encoding detected
23 .size _start, .-_start