[llvm] r340788 - [RuntimeDyld] Add test case that was accidentally left out of r340125.

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 27 15:48:01 PDT 2018


Author: lhames
Date: Mon Aug 27 15:48:01 2018
New Revision: 340788

URL: http://llvm.org/viewvc/llvm-project?rev=340788&view=rev
Log:
[RuntimeDyld] Add test case that was accidentally left out of r340125.

Added:
    llvm/trunk/test/ExecutionEngine/RuntimeDyld/X86/CommonSymbols_allocation.s

Added: llvm/trunk/test/ExecutionEngine/RuntimeDyld/X86/CommonSymbols_allocation.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/RuntimeDyld/X86/CommonSymbols_allocation.s?rev=340788&view=auto
==============================================================================
--- llvm/trunk/test/ExecutionEngine/RuntimeDyld/X86/CommonSymbols_allocation.s (added)
+++ llvm/trunk/test/ExecutionEngine/RuntimeDyld/X86/CommonSymbols_allocation.s Mon Aug 27 15:48:01 2018
@@ -0,0 +1,102 @@
+# RUN: rm -rf %t && mkdir -p %t
+# RUN: llvm-mc -triple=x86_64-pc-linux -filetype=obj -o %t/tmp.o %s
+# RUN: llvm-rtdyld -triple=x86_64-pc-linux -verify %t/tmp.o
+
+	.globl	main                    # -- Begin function main
+	.p2align	4, 0x90
+	.type	main, at function
+main:                                   #
+	.cfi_startproc
+# %bb.0:
+	movl	o42, %eax
+	retq
+.Lfunc_end0:
+	.size	main, .Lfunc_end0-main
+	.cfi_endproc
+                                        # -- End function
+	.type	o1, at object              #
+	.comm	o1,4,4
+	.type	o2, at object              #
+	.comm	o2,4,4
+	.type	o3, at object              #
+	.comm	o3,4,4
+	.type	o4, at object              #
+	.comm	o4,4,4
+	.type	o5, at object              #
+	.comm	o5,4,4
+	.type	o6, at object              #
+	.comm	o6,4,4
+	.type	o7, at object              #
+	.comm	o7,4,4
+	.type	o8, at object              #
+	.comm	o8,4,4
+	.type	o9, at object              #
+	.comm	o9,4,4
+	.type	o10, at object             #
+	.comm	o10,4,4
+	.type	o11, at object             #
+	.comm	o11,4,4
+	.type	o12, at object             #
+	.comm	o12,4,4
+	.type	o13, at object             #
+	.comm	o13,4,4
+	.type	o14, at object             #
+	.comm	o14,4,4
+	.type	o15, at object             #
+	.comm	o15,4,4
+	.type	o16, at object             #
+	.comm	o16,4,4
+	.type	o17, at object             #
+	.comm	o17,4,4
+	.type	o18, at object             #
+	.comm	o18,4,4
+	.type	o19, at object             #
+	.comm	o19,4,4
+	.type	o20, at object             #
+	.comm	o20,4,4
+	.type	o21, at object             #
+	.comm	o21,4,4
+	.type	o22, at object             #
+	.comm	o22,4,4
+	.type	o23, at object             #
+	.comm	o23,4,4
+	.type	o24, at object             #
+	.comm	o24,4,4
+	.type	o25, at object             #
+	.comm	o25,4,4
+	.type	o26, at object             #
+	.comm	o26,4,4
+	.type	o27, at object             #
+	.comm	o27,4,4
+	.type	o28, at object             #
+	.comm	o28,4,4
+	.type	o29, at object             #
+	.comm	o29,4,4
+	.type	o30, at object             #
+	.comm	o30,4,4
+	.type	o31, at object             #
+	.comm	o31,4,4
+	.type	o32, at object             #
+	.comm	o32,4,4
+	.type	o33, at object             #
+	.comm	o33,4,4
+	.type	o34, at object             #
+	.comm	o34,4,4
+	.type	o35, at object             #
+	.comm	o35,4,4
+	.type	o36, at object             #
+	.comm	o36,4,4
+	.type	o37, at object             #
+	.comm	o37,4,4
+	.type	o38, at object             #
+	.comm	o38,4,4
+	.type	o39, at object             #
+	.comm	o39,4,4
+	.type	o40, at object             #
+	.comm	o40,4,4
+	.type	o41, at object             #
+	.comm	o41,4,4
+	.type	o42, at object             #
+	.comm	o42,4,4
+
+	.section	".note.GNU-stack","", at progbits




More information about the llvm-commits mailing list