Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / COFF / lto-debug-fission.ll
blob1389624b58678e3d99d451faec8cd2712cc51d5c
1 ; REQUIRES: x86
3 ; RUN: opt %s -o %t1.o
4 ; RUN: rm -rf %t.dir
6 ; Test to ensure that -dwodir:$DIR creates .dwo files under $DIR
7 ; RUN: lld-link -dwodir:%t.dir -noentry -dll %t1.o -out:%t.dll
8 ; RUN: llvm-readobj -h %t.dir/0.dwo | FileCheck %s
10 ; CHECK: Format: COFF-x86-64
12 target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
13 target triple = "x86_64-unknown-windows-msvc"
15 define void @f() {
16 entry:
17   ret void