r332965 - [objc-gnu] Fix test.
David Chisnall via cfe-commits
cfe-commits at lists.llvm.org
Tue May 22 03:13:14 PDT 2018
Author: theraven
Date: Tue May 22 03:13:14 2018
New Revision: 332965
URL: http://llvm.org/viewvc/llvm-project?rev=332965&view=rev
Log:
[objc-gnu] Fix test.
The test was implicitly capturing the local filesystem layout.
Patch by Hans Wennborg!
Modified:
cfe/trunk/test/CodeGenObjC/gnu-init.m
Modified: cfe/trunk/test/CodeGenObjC/gnu-init.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/gnu-init.m?rev=332965&r1=332964&r2=332965&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenObjC/gnu-init.m (original)
+++ cfe/trunk/test/CodeGenObjC/gnu-init.m Tue May 22 03:13:14 2018
@@ -60,7 +60,7 @@
// CHECK-NEW-SAME: @.objc_init
// CHECK-NEW-NEXT: ret void
-// CHECK-OLD: @4 = internal global { i64, i64, i8*, { i64, { i8*, i8* }*, i16, i16, [4 x i8*] }* } { i64 9, i64 32, i8* getelementptr inbounds ([103 x i8], [103 x i8]* @.objc_source_file_name, i64 0, i64 0), { i64, { i8*, i8* }*, i16, i16, [4 x i8*] }* @3 }, align 8
+// CHECK-OLD: @4 = internal global { i64, i64, i8*, { i64, { i8*, i8* }*, i16, i16, [4 x i8*] }* } { i64 9, i64 32, i8* getelementptr inbounds ([{{[0-9]+}} x i8], [{{[0-9]+}} x i8]* @.objc_source_file_name, i64 0, i64 0), { i64, { i8*, i8* }*, i16, i16, [4 x i8*] }* @3 }, align 8
// CHECK-OLD: @llvm.global_ctors = appending global [1 x { i32, void ()*, i8* }] [{ i32, void ()*, i8* } { i32 65535, void ()* @.objc_load_function, i8* null }]
// CHECK-OLD: define internal void @.objc_load_function() {
More information about the cfe-commits
mailing list