1; REQUIRES: x86 2 3; RUN: opt %s -o %t1.o 4; RUN: rm -rf %t.dir 5 6; Test to ensure that --plugin-opt=dwo_dir=$DIR creates .dwo files under $DIR 7; RUN: ld.lld --plugin-opt=dwo_dir=%t.dir -shared %t1.o -o /dev/null 8; RUN: llvm-readobj -h %t.dir/0.dwo | FileCheck %s 9 10; CHECK: Format: elf64-x86-64 11 12target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" 13target triple = "x86_64-unknown-linux-gnu" 14 15declare void @g(...) 16 17define void @f() { 18entry: 19 call void (...) @g() 20 ret void 21} 22