[lld] r323584 - [ELF] - Extend lto/asmundef.ll testcase.
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 27 01:04:47 PST 2018
Author: grimar
Date: Sat Jan 27 01:04:47 2018
New Revision: 323584
URL: http://llvm.org/viewvc/llvm-project?rev=323584&view=rev
Log:
[ELF] - Extend lto/asmundef.ll testcase.
Patch adds one more module with non-prevailing
version of asm symbol, defined in main module
This is for D42107, which is under review.
Extended version of testcase would fail with the
diff 9 version of patch posted.
Added:
lld/trunk/test/ELF/lto/Inputs/asmundef.ll
Modified:
lld/trunk/test/ELF/lto/asmundef.ll
Added: lld/trunk/test/ELF/lto/Inputs/asmundef.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/lto/Inputs/asmundef.ll?rev=323584&view=auto
==============================================================================
--- lld/trunk/test/ELF/lto/Inputs/asmundef.ll (added)
+++ lld/trunk/test/ELF/lto/Inputs/asmundef.ll Sat Jan 27 01:04:47 2018
@@ -0,0 +1,4 @@
+target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target triple = "x86_64-unknown-linux-gnu"
+
+declare void @patatino()
Modified: lld/trunk/test/ELF/lto/asmundef.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/lto/asmundef.ll?rev=323584&r1=323583&r2=323584&view=diff
==============================================================================
--- lld/trunk/test/ELF/lto/asmundef.ll (original)
+++ lld/trunk/test/ELF/lto/asmundef.ll Sat Jan 27 01:04:47 2018
@@ -1,6 +1,7 @@
; REQUIRES: x86
; RUN: llvm-as %s -o %t.o
-; RUN: ld.lld -m elf_x86_64 %t.o -o %t -save-temps
+; RUN: llvm-as %S/Inputs/asmundef.ll -o %t2.o
+; RUN: ld.lld -m elf_x86_64 %t.o %t2.o -o %t -save-temps
; RUN: llvm-dis %t.0.4.opt.bc -o - | FileCheck %s
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
More information about the llvm-commits
mailing list