3 # RUN: llvm-mc -triple=i686-windows-gnu %s -filetype=obj -o %t.main.o
4 # RUN: llvm-mc -filetype=obj -triple=i686-windows-gnu \
5 # RUN: %p/Inputs/eh_frame_terminator-crtend.s -o %t.crtend.o
7 # RUN: lld-link -lldmingw -entry:main %t.main.o %t.crtend.o -out:%t.exe
8 # RUN: llvm-objdump -s %t.exe | FileCheck %s
10 # Check that the contents of .eh_frame$foo was placed before .eh_frame from
11 # crtend.o, even if the former had a section name suffix.
13 # CHECK: Contents of section .eh_fram:
27 .section .eh_frame$foo,"dr"
35 .section .text$foo,"xr",discard,foo