Skip to content

Commit 5796854

Browse files
committed
Fix test/IRGen/autolink_elf.swift
Resolves SR-2116.
1 parent dfc3933 commit 5796854

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/IRGen/autolink_elf.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@
33
// RUN: %swift -target x86_64-unknown-linux-gnu -emit-module -parse-stdlib -o %t -module-name Empty -module-link-name swiftEmpty %S/../Inputs/empty.swift
44
// RUN: %swift -target x86_64-unknown-linux-gnu %s -I %t -parse-stdlib -disable-objc-interop -module-name main -emit-ir -o - | FileCheck %s
55

6-
// REQUIRES: SR2116
7-
// REQUIRES: X86
6+
// REQUIRES: CODEGENERATOR=X86
87

98
import Empty
109

1110
// Check that on ELF targets autolinking information is emitted and marked
1211
// as used.
1312

1413
// CHECK-DAG: @_swift1_autolink_entries = private constant [13 x i8] c"-lswiftEmpty\00", section ".swift1_autolink_entries", align 8
15-
// CHECK-DAG: @llvm.used = appending global [1 x i8*] [i8* getelementptr inbounds ([13 x i8], [13 x i8]* @_swift1_autolink_entries, i32 0, i32 0)], section "llvm.metadata", align 8
14+
// CHECK-DAG: @llvm.used = appending global [{{.*}} x i8*] [{{.*}}i8* getelementptr inbounds ([13 x i8], [13 x i8]* @_swift1_autolink_entries, i32 0, i32 0){{.*}}], section "llvm.metadata", align 8
1615

0 commit comments

Comments
 (0)