[llvm] r215450 - Make the test a bit more strict.

Rafael Espindola rafael.espindola at gmail.com
Tue Aug 12 08:55:27 PDT 2014


Author: rafael
Date: Tue Aug 12 10:55:27 2014
New Revision: 215450

URL: http://llvm.org/viewvc/llvm-project?rev=215450&view=rev
Log:
Make the test a bit more strict.

Before it would pass even if @b or @c ended up pointing to a variable named
@a123.

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

Modified: llvm/trunk/test/tools/gold/weak.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/weak.ll?rev=215450&r1=215449&r2=215450&view=diff
==============================================================================
--- llvm/trunk/test/tools/gold/weak.ll (original)
+++ llvm/trunk/test/tools/gold/weak.ll Tue Aug 12 10:55:27 2014
@@ -12,5 +12,5 @@
 ; Test that @b and @c end up pointing to the same variable.
 
 ; CHECK: @a = weak global i32 42
-; CHECK: @b = global i32* @a
-; CHECK: @c = global i32* @a
+; CHECK: @b = global i32* @a{{$}}
+; CHECK: @c = global i32* @a{{$}}





More information about the llvm-commits mailing list