summaryrefslogtreecommitdiff
path: root/test/tools/gold/X86/Inputs/common_thinlto.ll
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-01-02 19:17:04 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-01-02 19:17:04 +0000
commitb915e9e0fc85ba6f398b3fab0db6a81a8913af94 (patch)
tree98b8f811c7aff2547cab8642daf372d6c59502fb /test/tools/gold/X86/Inputs/common_thinlto.ll
parent6421cca32f69ac849537a3cff78c352195e99f1b (diff)
Notes
Diffstat (limited to 'test/tools/gold/X86/Inputs/common_thinlto.ll')
-rw-r--r--test/tools/gold/X86/Inputs/common_thinlto.ll13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/tools/gold/X86/Inputs/common_thinlto.ll b/test/tools/gold/X86/Inputs/common_thinlto.ll
new file mode 100644
index 000000000000..f93105843403
--- /dev/null
+++ b/test/tools/gold/X86/Inputs/common_thinlto.ll
@@ -0,0 +1,13 @@
+source_filename = "common2.c"
+target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target triple = "x86_64-unknown-linux-gnu"
+
+@P = external global i8* (...)*, align 8
+
+; Function Attrs: nounwind uwtable
+define void @foo() #0 {
+entry:
+ %0 = load i8* (...)*, i8* (...)** @P, align 8
+ %call = call i8* (...) %0()
+ ret void
+}