From: George Rimar Date: Mon, 10 Oct 2016 10:27:38 +0000 (+0000) Subject: Revert r283733 "[ELF] - Do not crash if common symbol alignment set to value greater... X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a1b82456541f1dd47cf01d42754c227270b472b4;p=platform%2Fupstream%2Fllvm.git Revert r283733 "[ELF] - Do not crash if common symbol alignment set to value greater than UINT32_MAX." Broke BB because forgot to commit source file. llvm-svn: 283737 --- diff --git a/lld/test/ELF/invalid/Inputs/common-symbol-alignment2.elf b/lld/test/ELF/invalid/Inputs/common-symbol-alignment2.elf deleted file mode 100644 index 21c2457..0000000 Binary files a/lld/test/ELF/invalid/Inputs/common-symbol-alignment2.elf and /dev/null differ diff --git a/lld/test/ELF/invalid/common-symbol-alignment.s b/lld/test/ELF/invalid/common-symbol-alignment.s index 2a654b1..671205f 100644 --- a/lld/test/ELF/invalid/common-symbol-alignment.s +++ b/lld/test/ELF/invalid/common-symbol-alignment.s @@ -3,10 +3,4 @@ ## common-symbol-alignment.elf contains common symbol with zero alignment. # RUN: not ld.lld %S/Inputs/common-symbol-alignment.elf \ # RUN: -o %t 2>&1 | FileCheck %s -# CHECK: common symbol 'bar' has invalid alignment: 0 - -## common-symbol-alignment2.elf contains common symbol alignment greater -## than UINT32_MAX. -# RUN: not ld.lld %S/Inputs/common-symbol-alignment2.elf \ -# RUN: -o %t 2>&1 | FileCheck %s --check-prefix=BIG -# BIG: common symbol 'bar' has invalid alignment: 271644049215 +# CHECK: common symbol 'bar' alignment is 0