brintos

brintos / llvm-project-archived public Read only

0
0
Text · 770 B · 6b5213b Raw
36 lines · plain
1## This reproduces a bug with shrink wrapping when trying to split critical2## edges originating at the same basic block.3 4# REQUIRES: system-linux5 6# RUN: llvm-mc -filetype=obj -triple x86_64-unknown-unknown \7# RUN:   %s -o %t.o8# RUN: link_fdata %s %t.o %t.fdata9# RUN: llvm-strip --strip-unneeded %t.o10# RUN: %clang %cflags -no-pie %t.o -o %t.exe -Wl,-q -nostdlib11# RUN: llvm-bolt %t.exe --relocs -o %t.out --data %t.fdata \12# RUN:     --frame-opt=all --simplify-conditional-tail-calls=false \13# RUN:     --eliminate-unreachable=false14 15  .globl _start16_start:17# FDATA: 0 [unknown] 0 1 _start 0 0 118    push  %rbx19    je  b20c:21    pop %rbx22    ret23b:24    je  f25    jmp *JT(,%rbx,8)26d:27    jmp d28    mov %r14, %rdi29f:30    ret31  .data32JT:33  .quad c34  .quad d35  .quad f36