forked from OSchip/llvm-project
Change noplt.c to work for non-x86 targets.
Differential Revision: https://reviews.llvm.org/D39759 llvm-svn: 317627
This commit is contained in:
parent
c227512ce4
commit
fe34d6d8cd
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue