1 ## Check that BOLT preserves nop instruction if it's the only instruction
4 # REQUIRES: system-linux
6 # RUN: llvm-mc -filetype=obj -triple x86_64-unknown-linux %s -o %t.o
7 # RUN: ld.lld %t.o -o %t.exe -q
8 # RUN: llvm-bolt %t.exe -o %t.bolt.exe --relocs=0
9 # RUN: llvm-objdump -d %t.bolt.exe | FileCheck %s
13 .type nop_function,@function
17 # CHECK: <nop_function>:
20 .size nop_function, .-nop_function
25 .type _start,@function
29 .size _start, .-_start