1; RUN: opt -S %s -lowertypetests -lowertypetests-summary-action=export -lowertypetests-read-summary=%S/Inputs/exported-funcs.yaml | FileCheck %s 2; 3; CHECK: @alias1 = weak alias void (), void ()* @external_addrtaken 4; CHECK: @alias2 = hidden alias void (), void ()* @external_addrtaken 5; CHECK-NOT: @alias3 = alias 6; CHECK-NOT: @not_present 7 8target triple = "x86_64-unknown-linux" 9 10!cfi.functions = !{!0, !2, !3} 11!aliases = !{!4, !5, !6} 12 13!0 = !{!"external_addrtaken", i8 0, !1} 14!1 = !{i64 0, !"typeid1"} 15!2 = !{!"alias1", i8 1, !1} 16; alias2 not included here, this could happen if the only reference to alias2 17; is in a module compiled without cfi-icall 18!3 = !{!"alias3", i8 1, !1} 19!4 = !{!"alias1", !"external_addrtaken", i8 0, i8 1} 20!5 = !{!"alias2", !"external_addrtaken", i8 1, i8 0} 21!6 = !{!"alias3", !"not_present", i8 0, i8 0} 22