From: Rafael Espindola Date: Wed, 12 Nov 2014 14:23:04 +0000 (+0000) Subject: Fix the test. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e4e7ad3101225a38e826136fc9e3aa22da35196b;p=llvm Fix the test. It was broken since r221708. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221783 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/tools/gold/option.ll b/test/tools/gold/option.ll index 49931801e62..8154e435b4e 100644 --- a/test/tools/gold/option.ll +++ b/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