From: Teresa Johnson Date: Sat, 10 Sep 2016 06:18:17 +0000 (+0000) Subject: [gold/LTO] Add test case for r281134 X-Git-Tag: llvmorg-4.0.0-rc1~10142 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=027d7a09943e19d8cf908fc382404bb2935f42a8;p=platform%2Fupstream%2Fllvm.git [gold/LTO] Add test case for r281134 Add test case that was supposed to go in with r281134. llvm-svn: 281135 --- diff --git a/llvm/test/tools/gold/X86/module_asm.ll b/llvm/test/tools/gold/X86/module_asm.ll new file mode 100644 index 0000000..83c8905 --- /dev/null +++ b/llvm/test/tools/gold/X86/module_asm.ll @@ -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"