From: Rafael Espindola Date: Wed, 12 Nov 2014 14:23:04 +0000 (+0000) Subject: Fix the test. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=301396c9115a847974fd38f2505db81824309b19;p=platform%2Fupstream%2Fllvm.git Fix the test. It was broken since r221708. llvm-svn: 221783 --- diff --git a/llvm/test/tools/gold/option.ll b/llvm/test/tools/gold/option.ll index 4993180..8154e43 100644 --- a/llvm/test/tools/gold/option.ll +++ b/llvm/test/tools/gold/option.ll @@ -6,18 +6,26 @@ ; RUN: -shared %t.o -o %t2.o ; RUN: llvm-nm %t2.o | FileCheck %s -; CHECK: T __llvm_jump_instr_table_0_1 -; CHECK: T __llvm_jump_instr_table_1_1 +; CHECK: t __llvm_jump_instr_table_0_1 +; CHECK: t __llvm_jump_instr_table_1_1 target triple = "x86_64-unknown-linux-gnu" define i32 @g(i32 %a) unnamed_addr jumptable { ret i32 %a } +define i32 (i32)* @get_g() { + ret i32 (i32)* @g +} + define i32 @f() unnamed_addr jumptable { ret i32 0 } +define i32 ()* @get_f() { + ret i32 ()* @f +} + define <2 x i64> @test_aes(<2 x i64> %a0, <2 x i64> %a1) { %res = call <2 x i64> @llvm.x86.aesni.aesenc(<2 x i64> %a0, <2 x i64> %a1) ret <2 x i64> %res