[sanitizer] Improve FreeBSD ASLR detection
[llvm-project.git] / llvm / test / tools / llvm-reduce / remove-bbs-comdat.ll
blob9a6dba151155b68af6054d99b6574a5249048789
1 ; RUN: llvm-reduce --delta-passes=basic-blocks --abort-on-invalid-reduction --test FileCheck --test-arg --check-prefixes=CHECK-ALL,CHECK-INTERESTINGNESS --test-arg %s --test-arg --input-file %s -o %t
2 ; RUN: cat %t | FileCheck --check-prefixes=CHECK-ALL,CHECK-FINAL %s
4 ; CHECK-FINAL-NOT: = comdat
5 ; CHECK-INTERESTINGNESS: @callee(
6 ; CHECK-FINAL: declare void @callee()
8 $foo = comdat any
10 define void @callee() comdat($foo) {
11   ret void
14 ; CHECK-ALL: define void @caller()
15 define void @caller() {
16 entry:
17 ; CHECK-ALL: call void @callee()
18 ; CHECK-ALL: ret void
19   call void @callee()
20   ret void