22 lines · plain
1; REQUIRES: x862 3; RUN: opt %s -o %t1.o4; RUN: rm -rf %t.dir5 6; Test to ensure that --plugin-opt=dwo_dir=$DIR creates .dwo files under $DIR7; RUN: ld.lld --plugin-opt=dwo_dir=%t.dir -shared %t1.o -o /dev/null8; RUN: llvm-readobj -h %t.dir/0.dwo | FileCheck %s9 10; CHECK: Format: elf64-x86-6411 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 void21}22