xref: /llvm-project/llvm/test/LTO/X86/cfi-func-remove.ll (revision a1ca3af31eeec61cfb9d619f55b655b0eb0b9494)
1; RUN: opt -thinlto-bc -thinlto-split-lto-unit -unified-lto <%s -o %t0
2; RUN: llvm-lto2 run -o %t1 --unified-lto=full --save-temps %t0
3; RUN: llvm-dis <%t1.0.0.preopt.bc 2>&1 | FileCheck %s --implicit-check-not warning:
4target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
5target triple = "x86_64-pc-linux-gnu"
6
7!cfi.functions = !{!2}
8; CHECK-NOT: cfi.functions
9
10!2 = !{!"main", i8 0}
11