brintos

brintos / llvm-project-archived public Read only

0
0
Text · 794 B · bfe0eea Raw
35 lines · plain
1# REQUIRES: system-linux2 3# RUN: llvm-mc -filetype=obj -triple x86_64-unknown-unknown %s -o %t.o4# RUN: %clang %cflags -no-pie %t.o -o %t.exe -Wl,-q5# RUN: llvm-bolt %t.exe -o %t.out --lite=0 -v=1 --jump-tables=move 2>&1 | FileCheck %s6 7# CHECK-NOT: unclaimed PC-relative relocations left in data8# CHECK: BOLT-INFO: marking main.cold.1 as a fragment of main9# CHECK: BOLT-WARNING: Ignoring main.cold.110# CHECK: BOLT-WARNING: Ignoring main11 12  .text13  .globl main14  .type main, %function15  .p2align 216main:17    cmpl  $0x67, %edi18    jne main.cold.119LBB0:20    retq21.size main, .-main22 23  .globl main.cold.124  .type main.cold.1, %function25  .p2align 226main.cold.1:27    jmpq  *JUMP_TABLE(,%rcx,8)28.size main.cold.1, .-main.cold.129 30  .rodata31  .globl JUMP_TABLE32JUMP_TABLE:33  .quad LBB034  .quad LBB035