brintos

brintos / llvm-project-archived public Read only

0
0
Text · 717 B · a21ea99 Raw
33 lines · plain
1## This test checks that POPF will not crash our frame analysis pass2 3# REQUIRES: system-linux4 5# RUN: llvm-mc -filetype=obj -triple x86_64-unknown-unknown %s -o %t.o6# RUN: link_fdata %s %t.o %t.fdata7# RUN: llvm-strip --strip-unneeded %t.o8# RUN: %clang %cflags %t.o -o %t.exe -Wl,-q -nostdlib9# RUN: llvm-bolt %t.exe -o %t.out --data %t.fdata --frame-opt=all --lite=010 11 12  .globl _start13_start:14    .cfi_startproc15# FDATA: 0 [unknown] 0 1 _start 0 0 616    je a17b:  jne _start18# FDATA: 1 _start #b# 1 _start #c# 0 319 20c:21    pushf22    push  %rbx23    push  %rbp24    addq $0x50, -0x30(%rbp)25    pop   %rbp26    pop   %rbx27    popf28 29## This basic block is treated as having 0 execution count.30a:31    ud232    .cfi_endproc33