summaryrefslogtreecommitdiffstats
path: root/llvm/test/Object/multi-module.ll
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2016-12-13 20:20:17 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2016-12-13 20:20:17 +0000
commit45102a24c77ae8355afefa6a3cd3856474ff7e1c (patch)
tree5ff0fd26a07f88f9c95d9ef6a5dc50cd02e4b065 /llvm/test/Object/multi-module.ll
parentc5fecb4f1a857bd741c3296293cfcbf0e18ff623 (diff)
downloadbcm5719-llvm-45102a24c77ae8355afefa6a3cd3856474ff7e1c.tar.gz
bcm5719-llvm-45102a24c77ae8355afefa6a3cd3856474ff7e1c.zip
Object: Make IRObjectFile own multiple modules and enumerate symbols from all modules.
This implements multi-module support in IRObjectFile. Differential Revision: https://reviews.llvm.org/D26951 llvm-svn: 289578
Diffstat (limited to 'llvm/test/Object/multi-module.ll')
-rw-r--r--llvm/test/Object/multi-module.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/Object/multi-module.ll b/llvm/test/Object/multi-module.ll
new file mode 100644
index 00000000000..204ffc600cb
--- /dev/null
+++ b/llvm/test/Object/multi-module.ll
@@ -0,0 +1,8 @@
+; RUN: llvm-cat -o - %s %S/Inputs/multi-module.ll | llvm-nm - | FileCheck %s
+
+; CHECK: T f1
+; CHECK: T f2
+
+define void @f1() {
+ ret void
+}
OpenPOWER on IntegriCloud