[lld] r266487 - [LTO] Add datalayout to test to prevent an assertion in Debug mode.
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 15 15:58:57 PDT 2016
Author: davide
Date: Fri Apr 15 17:58:57 2016
New Revision: 266487
URL: http://llvm.org/viewvc/llvm-project?rev=266487&view=rev
Log:
[LTO] Add datalayout to test to prevent an assertion in Debug mode.
While here, run this test only on x86.
Modified:
lld/trunk/test/ELF/lto/parallel.ll
Modified: lld/trunk/test/ELF/lto/parallel.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/lto/parallel.ll?rev=266487&r1=266486&r2=266487&view=diff
==============================================================================
--- lld/trunk/test/ELF/lto/parallel.ll (original)
+++ lld/trunk/test/ELF/lto/parallel.ll Fri Apr 15 17:58:57 2016
@@ -1,8 +1,10 @@
+; REQUIRES: x86
; RUN: llvm-as -o %t.bc %s
; RUN: ld.lld -m elf_x86_64 --lto-jobs=2 -save-temps -o %t %t.bc -shared
; RUN: llvm-nm %t0.lto.o | FileCheck --check-prefix=CHECK0 %s
; RUN: llvm-nm %t1.lto.o | FileCheck --check-prefix=CHECK1 %s
+target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; CHECK0-NOT: bar
More information about the llvm-commits
mailing list