forked from OSchip/llvm-project
8 lines
411 B
C
8 lines
411 B
C
// RUN: %clang_cc1 -emit-llvm -pic-level 2 %s -o - | FileCheck %s -check-prefix=CHECK-BIGPIC
|
|
// RUN: %clang_cc1 -emit-llvm -pic-level 1 %s -o - | FileCheck %s -check-prefix=CHECK-SMALLPIC
|
|
|
|
// CHECK-BIGPIC: !llvm.module.flags = !{{{.*}}}
|
|
// CHECK-BIGPIC: !{{[0-9]+}} = !{i32 1, !"PIC Level", i32 2}
|
|
// CHECK-SMALLPIC: !llvm.module.flags = !{{{.*}}}
|
|
// CHECK-SMALLPIC: !{{[0-9]+}} = !{i32 1, !"PIC Level", i32 1}
|