[lld] r283737 - Revert r283733 "[ELF] - Do not crash if common symbol alignment set to value greater than UINT32_MAX."
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 10 03:27:38 PDT 2016
Author: grimar
Date: Mon Oct 10 05:27:38 2016
New Revision: 283737
URL: http://llvm.org/viewvc/llvm-project?rev=283737&view=rev
Log:
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.
Removed:
lld/trunk/test/ELF/invalid/Inputs/common-symbol-alignment2.elf
Modified:
lld/trunk/test/ELF/invalid/common-symbol-alignment.s
Removed: lld/trunk/test/ELF/invalid/Inputs/common-symbol-alignment2.elf
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/invalid/Inputs/common-symbol-alignment2.elf?rev=283736&view=auto
==============================================================================
Binary file - no diff available.
Modified: lld/trunk/test/ELF/invalid/common-symbol-alignment.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/invalid/common-symbol-alignment.s?rev=283737&r1=283736&r2=283737&view=diff
==============================================================================
--- lld/trunk/test/ELF/invalid/common-symbol-alignment.s (original)
+++ lld/trunk/test/ELF/invalid/common-symbol-alignment.s Mon Oct 10 05:27:38 2016
@@ -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
More information about the llvm-commits
mailing list