[llvm] r221783 - Fix the test.

Rafael Espindola rafael.espindola at gmail.com
Wed Nov 12 06:23:04 PST 2014


Author: rafael
Date: Wed Nov 12 08:23:04 2014
New Revision: 221783

URL: http://llvm.org/viewvc/llvm-project?rev=221783&view=rev
Log:
Fix the test.

It was broken since r221708.

Modified:
    llvm/trunk/test/tools/gold/option.ll

Modified: llvm/trunk/test/tools/gold/option.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/option.ll?rev=221783&r1=221782&r2=221783&view=diff
==============================================================================
--- llvm/trunk/test/tools/gold/option.ll (original)
+++ llvm/trunk/test/tools/gold/option.ll Wed Nov 12 08:23:04 2014
@@ -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





More information about the llvm-commits mailing list