[llvm] r289876 - [gold] Add datalayout to test where it was missing
Teresa Johnson via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 15 13:42:56 PST 2016
Author: tejohnson
Date: Thu Dec 15 15:42:56 2016
New Revision: 289876
URL: http://llvm.org/viewvc/llvm-project?rev=289876&view=rev
Log:
[gold] Add datalayout to test where it was missing
Needed due to change to require datalayout (r289719).
Found this in my own testing, maybe there aren't any bots using a v1.12
gold yet.
Modified:
llvm/trunk/test/tools/gold/X86/v1.12/Inputs/start-lib-common.ll
llvm/trunk/test/tools/gold/X86/v1.12/start-lib-common.ll
Modified: llvm/trunk/test/tools/gold/X86/v1.12/Inputs/start-lib-common.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/v1.12/Inputs/start-lib-common.ll?rev=289876&r1=289875&r2=289876&view=diff
==============================================================================
--- llvm/trunk/test/tools/gold/X86/v1.12/Inputs/start-lib-common.ll (original)
+++ llvm/trunk/test/tools/gold/X86/v1.12/Inputs/start-lib-common.ll Thu Dec 15 15:42:56 2016
@@ -1 +1,4 @@
+target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target triple = "x86_64-unknown-linux-gnu"
+
@x = common global i32 0, align 8
Modified: llvm/trunk/test/tools/gold/X86/v1.12/start-lib-common.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/v1.12/start-lib-common.ll?rev=289876&r1=289875&r2=289876&view=diff
==============================================================================
--- llvm/trunk/test/tools/gold/X86/v1.12/start-lib-common.ll (original)
+++ llvm/trunk/test/tools/gold/X86/v1.12/start-lib-common.ll Thu Dec 15 15:42:56 2016
@@ -9,6 +9,9 @@
; RUN: -shared %t1.o --start-lib %t2.o --end-lib -o %t3.o
; RUN: llvm-dis %t3.o -o - | FileCheck %s
+target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target triple = "x86_64-unknown-linux-gnu"
+
@x = common global i32 0, align 4
; v1.12 gold honors --start-lib/--end-lib, drops %t2.o and ends up
More information about the llvm-commits
mailing list