aboutsummaryrefslogtreecommitdiff
path: root/deps/lld/test/COFF/thinlto-mangled.ll
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2017-08-27 17:46:59 -0400
committerAndrew Kelley <superjoe30@gmail.com>2017-08-27 17:46:59 -0400
commit4794281d64b3482daf26a9bbfd2898a3a221b893 (patch)
tree54f6d3c7e3e6cb455d7c76d2d484ebe08685fb1a /deps/lld/test/COFF/thinlto-mangled.ll
parentebdc6b594ddc0762ed9e41b5f36e6da5e03c19e0 (diff)
downloadzig-4794281d64b3482daf26a9bbfd2898a3a221b893.tar.gz
zig-4794281d64b3482daf26a9bbfd2898a3a221b893.zip
embed LLD 5.0.0
This is 48aaa9f66120f72b5d7e4a90b32fee40a3386ce9 from the git monorepo.
Diffstat (limited to 'deps/lld/test/COFF/thinlto-mangled.ll')
-rw-r--r--deps/lld/test/COFF/thinlto-mangled.ll17
1 files changed, 17 insertions, 0 deletions
diff --git a/deps/lld/test/COFF/thinlto-mangled.ll b/deps/lld/test/COFF/thinlto-mangled.ll
new file mode 100644
index 0000000000..8c901cbd70
--- /dev/null
+++ b/deps/lld/test/COFF/thinlto-mangled.ll
@@ -0,0 +1,17 @@
+; REQUIRES: x86
+; RUN: opt -thinlto-bc %s -o %t.obj
+; RUN: opt -thinlto-bc %S/Inputs/thinlto-mangled-qux.ll -o %T/thinlto-mangled-qux.obj
+; RUN: lld-link -out:%t.exe -entry:main %t.obj %T/thinlto-mangled-qux.obj
+
+target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128"
+target triple = "x86_64-pc-windows-msvc19.0.24215"
+
+%"class.bar" = type { i32 (...)**, i8*, i8*, i8*, i32 }
+
+define i32 @main() {
+ ret i32 0
+}
+
+define available_externally zeroext i1 @"\01?x@bar@@UEBA_NXZ"(%"class.bar"* %this) unnamed_addr align 2 {
+ ret i1 false
+}