1 ;; Verify that the BB address map is not emitted for empty functions.
2 ; RUN: llc < %s -mtriple=x86_64 -basic-block-sections=labels | FileCheck %s
4 define void @empty_func() {
8 ; CHECK: {{^ *}}.text{{$}}
10 ; CHECK: .Lfunc_begin0:
11 ; CHECK-NOT: .section .llvm_bb_addr_map
19 ; CHECK: .Lfunc_begin1:
20 ; CHECK: .section .llvm_bb_addr_map,"o",@llvm_bb_addr_map,.text{{$}}
21 ; CHECK-NEXT: .byte 2 # version
22 ; CHECK-NEXT: .byte 0 # feature
23 ; CHECK-NEXT: .quad .Lfunc_begin1 # function address