brintos

brintos / llvm-project-archived public Read only

0
0
Text · 780 B · 001485a Raw
27 lines · plain
1// REQUIRES: x862// RUN: llvm-mc -filetype=obj -triple=x86_64-windows-gnu %s -o %t.main.o3// RUN: llvm-mc -filetype=obj -triple=x86_64-windows-gnu \4// RUN:   %p/Inputs/eh_frame_terminator-otherfunc.s -o %t.otherfunc.o5// RUN: llvm-mc -filetype=obj -triple=x86_64-windows-gnu \6// RUN:   %p/Inputs/eh_frame_terminator-crtend.s -o %t.crtend.o7// RUN: rm -f %t.otherfunc.lib8// RUN: llvm-ar rcs %t.otherfunc.lib %t.otherfunc.o9// RUN: lld-link -lldmingw %t.main.o %t.otherfunc.lib %t.crtend.o -out:%t.exe10// RUN: llvm-objdump -s %t.exe | FileCheck %s11 12    .text13    .globl main14main:15    call otherfunc16    ret17 18    .globl mainCRTStartup19mainCRTStartup:20    call main21 22    .section .eh_frame,"dr"23    .byte 124 25// CHECK: Contents of section .eh_fram:26// CHECK-NEXT: 140003000 01020327