[llvm] r241834 - [ELF] Explicitly configure sections alignment in the tests. NFC

Simon Atanasyan simon at atanasyan.com
Thu Jul 9 11:22:55 PDT 2015


Author: atanasyan
Date: Thu Jul  9 13:22:55 2015
New Revision: 241834

URL: http://llvm.org/viewvc/llvm-project?rev=241834&view=rev
Log:
[ELF] Explicitly configure sections alignment in the tests. NFC

Modified:
    llvm/trunk/test/Object/Mips/elf-mips64-rel.yaml
    llvm/trunk/test/Object/yaml2obj-elf-symbol-basic.yaml

Modified: llvm/trunk/test/Object/Mips/elf-mips64-rel.yaml
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/Mips/elf-mips64-rel.yaml?rev=241834&r1=241833&r2=241834&view=diff
==============================================================================
--- llvm/trunk/test/Object/Mips/elf-mips64-rel.yaml (original)
+++ llvm/trunk/test/Object/Mips/elf-mips64-rel.yaml Thu Jul  9 13:22:55 2015
@@ -58,6 +58,7 @@ Sections:
   - Name:            .rela.text
     Type:            SHT_RELA
     Flags:           [ SHF_INFO_LINK ]
+    AddressAlign:    0x8
     Info:            .text
     Relocations:
       - Offset:      0x14

Modified: llvm/trunk/test/Object/yaml2obj-elf-symbol-basic.yaml
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/yaml2obj-elf-symbol-basic.yaml?rev=241834&r1=241833&r2=241834&view=diff
==============================================================================
--- llvm/trunk/test/Object/yaml2obj-elf-symbol-basic.yaml (original)
+++ llvm/trunk/test/Object/yaml2obj-elf-symbol-basic.yaml Thu Jul  9 13:22:55 2015
@@ -9,6 +9,7 @@ Sections:
   - Name: .text
     Type: SHT_PROGBITS
     Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
+    AddressAlign: 0x4
     Content: "90EBFE" # x86 machine code
                       #   NOP ; To make main's `Value` non-zero (for testing).
                       # main:





More information about the llvm-commits mailing list