From 06a533caaa345da28d6df87fb09123e06a8960e8 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Tue, 9 Sep 2014 15:40:12 +0000 Subject: [PATCH] Make this input file pass the verifier. This was not noticed before because llvm-link only runs the verifier on the result and these globals were not present in the result. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217450 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Linker/unnamed-addr1-b.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Linker/unnamed-addr1-b.ll b/test/Linker/unnamed-addr1-b.ll index 39a0c8bd7e5..d0f54f2259b 100644 --- a/test/Linker/unnamed-addr1-b.ll +++ b/test/Linker/unnamed-addr1-b.ll @@ -1,7 +1,7 @@ ; This file is for use with unnamed-addr1-a.ll ; RUN: true -@global-c = common unnamed_addr global i32 42 +@global-c = common unnamed_addr global i32 0 @global-d = unnamed_addr global i32 42 @global-e = unnamed_addr global i32 42 @global-f = unnamed_addr global i32 42 @@ -13,7 +13,7 @@ define weak void @func-c() unnamed_addr { ret void } define weak void @func-d() unnamed_addr { ret void } define weak void @func-e() unnamed_addr { ret void } -@global-g = common global i32 42 +@global-g = common global i32 0 @global-h = global i32 42 @global-i = global i32 42 @global-j = global i32 42