[ORC] Add std::tuple support to SimplePackedSerialization.
[llvm-project.git] / llvm / test / CodeGen / X86 / basic-block-sections-labels-empty-function.ll
blob4d814b5b61c77aaee8f28f46287f810f22db0dbe
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() {
5 entry:
6   unreachable
8 ; CHECK:                {{^ *}}.text{{$}}
9 ; CHECK:        empty_func:
10 ; CHECK:        .Lfunc_begin0:
11 ; CHECK-NOT:    .section        .llvm_bb_addr_map
13 define void @func() {
14 entry:
15   ret void
18 ; CHECK:        func:
19 ; CHECK:        .Lfunc_begin1:
20 ; CHECK:                .section        .llvm_bb_addr_map,"o",@llvm_bb_addr_map,.text{{$}}
21 ; CHECK:                .quad   .Lfunc_begin1