1 ; RUN: llvm-as %s -o %t.o 2 3 ; RUN: not %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \ 4 ; RUN: -plugin-opt=-pass-remarks=inline %t.o -o %t2.o 2>&1 | FileCheck %s 5 6 ; RUN: not %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \ 7 ; RUN: %t.o -o %t2.o 2>&1 | FileCheck -allow-empty --check-prefix=NO-REMARK %s 8 9 10 ; CHECK: f inlined into _start 11 ; NO-REMARK-NOT: inlined 12 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" 13 target triple = "x86_64-unknown-linux-gnu" 14 15 declare i32 @bar() 16 17 define i32 @f() { 18 %a = call i32 @bar() 19 ret i32 %a 20 } 21 22 define i32 @_start() { 23 %call = call i32 @f() 24 ret i32 %call 25 } 26