[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.

llvm-svn: 289876
This commit is contained in:
Teresa Johnson 2016-12-15 21:42:56 +00:00
parent eb0ac24172
commit 68e58b4b60
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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