summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/gold/X86/no-map-whole-file.ll
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2015-08-28 20:33:56 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2015-08-28 20:33:56 +0000
commitcad82ccbb24e62a1da004f32f7fc5315b4019428 (patch)
tree4c06f244ee9da6cf296fd9e3ea79664a01e53d41 /llvm/test/tools/gold/X86/no-map-whole-file.ll
parent814b8e91c74e9855e6962471b059327525604b1d (diff)
downloadbcm5719-llvm-cad82ccbb24e62a1da004f32f7fc5315b4019428.tar.gz
bcm5719-llvm-cad82ccbb24e62a1da004f32f7fc5315b4019428.zip
Split the gold tests into X86 and PowerPC directories.
Patch by Than McIntosh! llvm-svn: 246328
Diffstat (limited to 'llvm/test/tools/gold/X86/no-map-whole-file.ll')
-rw-r--r--llvm/test/tools/gold/X86/no-map-whole-file.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/tools/gold/X86/no-map-whole-file.ll b/llvm/test/tools/gold/X86/no-map-whole-file.ll
new file mode 100644
index 00000000000..4c261d70a24
--- /dev/null
+++ b/llvm/test/tools/gold/X86/no-map-whole-file.ll
@@ -0,0 +1,9 @@
+; RUN: llvm-as -o %t.bc %s
+; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so -plugin-opt=emit-llvm \
+; RUN: --no-map-whole-files -r -o %t2.bc %t.bc
+; RUN: llvm-dis < %t2.bc -o - | FileCheck %s
+
+; CHECK: main
+define i32 @main() {
+ ret i32 0
+}
OpenPOWER on IntegriCloud