19 lines · plain
1; REQUIRES: x862 3; RUN: opt %s -o %t1.o4; RUN: rm -rf %t.dir5 6; Test to ensure that -dwodir:$DIR creates .dwo files under $DIR7; RUN: lld-link -dwodir:%t.dir -noentry -dll %t1.o -out:%t.dll8; RUN: llvm-readobj -h %t.dir/0.dwo | FileCheck %s9 10; CHECK: Format: COFF-x86-6411 12target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"13target triple = "x86_64-unknown-windows-msvc"14 15define void @f() {16entry:17 ret void18}19