]> granicus.if.org Git - clang/commitdiff
Change noplt.c to work for non-x86 targets.
authorSriraman Tallam <tmsriram@google.com>
Tue, 7 Nov 2017 22:34:55 +0000 (22:34 +0000)
committerSriraman Tallam <tmsriram@google.com>
Tue, 7 Nov 2017 22:34:55 +0000 (22:34 +0000)
Differential Revision: https://reviews.llvm.org/D39759

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@317627 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/noplt.c

index ce054e2b7cb799c384907fc8ba2e2d6244476ff5..f467199efab2db2753545c25024b6c943aa4616c 100644 (file)
@@ -1,7 +1,7 @@
 // RUN: %clang_cc1 -emit-llvm -fno-plt %s -o - | FileCheck %s -check-prefix=CHECK-NOPLT
 
 // CHECK-NOPLT: Function Attrs: nonlazybind
-// CHECK-NOPLT-NEXT: declare i32 @foo
+// CHECK-NOPLT-NEXT: declare {{.*}}i32 @foo
 int foo();
 
 int bar() {