[gold/LTO] Add test case for r281134

Add test case that was supposed to go in with r281134.

llvm-svn: 281135
This commit is contained in:
Teresa Johnson 2016-09-10 06:18:17 +00:00
parent 03c3511211
commit 027d7a0994
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
; RUN: llvm-as %s -o %t.o
; RUN: %gold -shared -m elf_x86_64 -o %t2 -plugin %llvmshlibdir/LLVMgold.so %t.o
; RUN: nm %t2 | FileCheck %s
; CHECK: PrepareAndDispatch
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
module asm "call PrepareAndDispatch@plt"
module asm "\09"