[llvm] Do not replace dead constant references in metadata with undef
[llvm-project.git] / lld / test / ELF / linkerscript / huge-temporary-file.s
blob1b4293bfd7db5024a7bb9197a495bfaa755fe844
1 # REQUIRES: x86
2 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
3 # RUN: echo "SECTIONS { .text 0x2000 : {. = 0x10 ; *(.text) } }" > %t.script
4 # RUN: not ld.lld %t --script %t.script -o /dev/null
6 ## This inputs previously created a 4gb temporarily file under 32 bit
7 ## configuration. Issue was fixed. There is no clean way to check that from here.
8 ## This testcase added for documentation purposes.
10 .globl _start
11 _start:
12 nop