24 lines · plain
1; RUN: opt -thinlto-bc -thinlto-split-lto-unit -o %t %s2; RUN: llvm-modextract -b -n 1 -o - %t | llvm-dis | FileCheck %s3 4; Check that cfi.functions metadata has the expected contents.5 6; CHECK: !"f1", i8 17; CHECK: !"f2", i8 18; CHECK: !"f3", i8 09 10declare !type !1 void @f1()11 12define void @f2() !type !1 {13 ret void14}15 16define void @f3() "cfi-canonical-jump-table" !type !1 {17 ret void18}19 20!llvm.module.flags = !{!0}21 22!0 = !{i32 4, !"CFI Canonical Jump Tables", i32 0}23!1 = !{i32 0, !"typeid1"}24