Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / ELF / wrap-with-archive.s
blob1bfbdcef30dd7ef53099338b486925bb61849d03
1 // REQUIRES: x86
2 // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t
3 // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %p/Inputs/wrap-with-archive.s -o %t2
4 // RUN: llvm-ar rcs %t3 %t2
5 // RUN: ld.lld -o %t4 %t %t3 -wrap get_executable_start
7 // Regression test for https://bugs.llvm.org/show_bug.cgi?id=40134
9 .global get_executable_start
10 .global _start
12 _start:
13 jmp get_executable_start