[lld] 969c63a - [LLD][ELF] - Fix section-alignment.test after yaml2obj change.

Georgii Rymar via llvm-commits llvm-commits at lists.llvm.org
Fri May 15 02:01:02 PDT 2020


Author: Georgii Rymar
Date: 2020-05-15T12:00:37+03:00
New Revision: 969c63a2ecfb536062ff2174645abe31e4036067

URL: https://github.com/llvm/llvm-project/commit/969c63a2ecfb536062ff2174645abe31e4036067
DIFF: https://github.com/llvm/llvm-project/commit/969c63a2ecfb536062ff2174645abe31e4036067.diff

LOG: [LLD][ELF] - Fix section-alignment.test after yaml2obj change.

yaml2obj changed in rG7ccae2cece72. Previous version of the
yaml produced a different error and a 500mb binary.

Added: 
    

Modified: 
    lld/test/ELF/invalid/section-alignment.test

Removed: 
    


################################################################################
diff  --git a/lld/test/ELF/invalid/section-alignment.test b/lld/test/ELF/invalid/section-alignment.test
index f5505a8d29bb..8099ec01849b 100644
--- a/lld/test/ELF/invalid/section-alignment.test
+++ b/lld/test/ELF/invalid/section-alignment.test
@@ -14,6 +14,7 @@ Sections:
     Type:            SHT_PROGBITS
     Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
     AddressAlign:    0x1000000000000000
+    Offset:          0x100
     Content:         "00000000"
 
 # CHECK: section sh_addralign is too large


        


More information about the llvm-commits mailing list