1 ;; This test verifies that with -gc-empty-basic-blocks SHT_LLVM_BB_ADDR_MAP will not include entries for empty blocks.
2 ; RUN: llc < %s -mtriple=x86_64 -O0 -basic-block-address-map -gc-empty-basic-blocks | FileCheck --check-prefix=CHECK %s
4 define void @foo(i1 zeroext %0) nounwind {
5 br i1 %0, label %2, label %empty_block
11 empty_block: ; preds = %1
14 4: ; preds = %2, %empty_block
20 ; CHECK: .section .llvm_bb_addr_map,"o",@llvm_bb_addr_map,.text
21 ; CHECK: .byte 3 # number of basic blocks