aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/PGOProfile/Inputs/thinlto_indirect_call_promotion.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/PGOProfile/Inputs/thinlto_indirect_call_promotion.ll')
-rw-r--r--test/Transforms/PGOProfile/Inputs/thinlto_indirect_call_promotion.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Transforms/PGOProfile/Inputs/thinlto_indirect_call_promotion.ll b/test/Transforms/PGOProfile/Inputs/thinlto_indirect_call_promotion.ll
index c77eb5172d86..8732e5407676 100644
--- a/test/Transforms/PGOProfile/Inputs/thinlto_indirect_call_promotion.ll
+++ b/test/Transforms/PGOProfile/Inputs/thinlto_indirect_call_promotion.ll
@@ -1,7 +1,16 @@
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
+source_filename = "thinlto_indirect_call_promotion.c"
+
define void @a() {
entry:
ret void
}
+
+define internal void @c() !PGOFuncName !1 {
+entry:
+ ret void
+}
+
+!1 = !{!"thinlto_indirect_call_promotion.c:c"}