From 34d2333c07e7fe082a8009784c4bb276a678d418 Mon Sep 17 00:00:00 2001 From: George Rimar Date: Tue, 3 Jul 2018 08:30:55 +0000 Subject: [PATCH] [ELF] - Revert huge-temporary-file.s changed in r336129 Comment in the test case says that: ## This inputs previously created a 4gb temporarily file under 32 bit ## configuration. Issue was fixed. There is no clean way to check that from here. ## This testcase added for documentation purposes. The intention of the test was to create such huge file in case if our code will be broken again. And currently it documents we do not create huge outputs. r336129 changed -o to /dev/null and broke the intentions of the test case. llvm-svn: 336179 --- lld/test/ELF/linkerscript/huge-temporary-file.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lld/test/ELF/linkerscript/huge-temporary-file.s b/lld/test/ELF/linkerscript/huge-temporary-file.s index 1b4293bfd7db..e30153c28857 100644 --- a/lld/test/ELF/linkerscript/huge-temporary-file.s +++ b/lld/test/ELF/linkerscript/huge-temporary-file.s @@ -1,7 +1,7 @@ # REQUIRES: x86 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t # RUN: echo "SECTIONS { .text 0x2000 : {. = 0x10 ; *(.text) } }" > %t.script -# RUN: not ld.lld %t --script %t.script -o /dev/null +# RUN: not ld.lld %t --script %t.script -o %t1 ## This inputs previously created a 4gb temporarily file under 32 bit ## configuration. Issue was fixed. There is no clean way to check that from here.