[llvm] r179888 - Make test slightly more readable.

Bill Wendling isanbard at gmail.com
Fri Apr 19 14:14:59 PDT 2013


Author: void
Date: Fri Apr 19 16:14:59 2013
New Revision: 179888

URL: http://llvm.org/viewvc/llvm-project?rev=179888&view=rev
Log:
Make test slightly more readable.

Modified:
    llvm/trunk/test/CodeGen/X86/no-compact-unwind.ll

Modified: llvm/trunk/test/CodeGen/X86/no-compact-unwind.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/no-compact-unwind.ll?rev=179888&r1=179887&r2=179888&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/no-compact-unwind.ll (original)
+++ llvm/trunk/test/CodeGen/X86/no-compact-unwind.ll Fri Apr 19 16:14:59 2013
@@ -5,7 +5,7 @@
 %class.ImageLoader = type { i32 (...)**, i8*, i8*, i32, i64, i64, i32, i32, %"struct.ImageLoader::recursive_lock"*, i16, i16, [4 x i8] }
 %"struct.ImageLoader::recursive_lock" = type { i32, i32 }
 
- at _ZN4dyldL18sMappedRangesStartE = external hidden global %"struct.dyld::MappedRanges", align 8
+ at G1 = external hidden global %"struct.dyld::MappedRanges", align 8
 
 declare void @OSMemoryBarrier() optsize
 
@@ -14,17 +14,17 @@ declare void @OSMemoryBarrier() optsize
 ; DWARF EH frame.
 ;
 ; CHECK: .section __LD,__compact_unwind,regular,debug
-; CHECK: .quad __ZN4dyld19removedMappedRangesEP11ImageLoader
+; CHECK: .quad _func
 ; CHECK: .long 67108864                ## Compact Unwind Encoding: 0x4000000
 ; CHECK: .quad 0                       ## Personality Function
 ; CHECK: .quad 0                       ## LSDA
 ;
-define void @_ZN4dyld19removedMappedRangesEP11ImageLoader(%class.ImageLoader* %image) optsize ssp uwtable {
+define void @func(%class.ImageLoader* %image) optsize ssp uwtable {
 entry:
   br label %for.cond1.preheader
 
 for.cond1.preheader:                              ; preds = %for.inc10, %entry
-  %p.019 = phi %"struct.dyld::MappedRanges"* [ @_ZN4dyldL18sMappedRangesStartE, %entry ], [ %1, %for.inc10 ]
+  %p.019 = phi %"struct.dyld::MappedRanges"* [ @G1, %entry ], [ %1, %for.inc10 ]
   br label %for.body3
 
 for.body3:                                        ; preds = %for.inc, %for.cond1.preheader





More information about the llvm-commits mailing list