[sanitizer] Improve FreeBSD ASLR detection
[llvm-project.git] / llvm / test / tools / llvm-reduce / remove-bbs-entry.ll
blob04f26f4136519e2c64f8444e20c1abe7a93266d9
1 ; Test that llvm-reduce correctly removes the entry block of functions for
2 ; linkages other than external and weak.
4 ; RUN: llvm-reduce --abort-on-invalid-reduction --delta-passes=basic-blocks --test FileCheck --test-arg --check-prefixes=CHECK-INTERESTINGNESS --test-arg %s --test-arg --input-file %s -o %t
5 ; RUN: cat %t | FileCheck %s
7 ; CHECK-INTERESTINGNESS: interesting1:
9 ; CHECK-NOT: uninteresting
10 define linkonce_odr i32 @foo() {
11 uninteresting:
12   ret i32 0
15 define i32 @main(i1 %c) {
16 interesting1:
17   ret i32 0