From: Sriraman Tallam Date: Tue, 7 Nov 2017 22:34:55 +0000 (+0000) Subject: Change noplt.c to work for non-x86 targets. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7d77bb49284b727607ab520ee37f5502c463ab5e;p=clang Change noplt.c to work for non-x86 targets. Differential Revision: https://reviews.llvm.org/D39759 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@317627 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/noplt.c b/test/CodeGen/noplt.c index ce054e2b7c..f467199efa 100644 --- a/test/CodeGen/noplt.c +++ b/test/CodeGen/noplt.c @@ -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() {