Change noplt.c to work for non-x86 targets.

Differential Revision: https://reviews.llvm.org/D39759

llvm-svn: 317627
This commit is contained in:
Sriraman Tallam 2017-11-07 22:34:55 +00:00
parent c227512ce4
commit fe34d6d8cd
1 changed files with 1 additions and 1 deletions

View 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() {