llvm.org GIT mirror llvm / ba8d948
[yaml2obj] Initialize sh_addralign field for the .symtab section git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241835 91177308-0d34-0410-b5e6-96231b3b80d8 Simon Atanasyan 5 years ago
2 changed file(s) with 4 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
6464 # CHECK: Section {
6565 # CHECK: Name: .symtab (25)
6666 # CHECK: Type: SHT_SYMTAB (0x2)
67 # CHECK: AddressAlignment: 8
6768 # CHECK: }
6869 # CHECK: Section {
6970 # CHECK: Name: .strtab (17)
7071 # CHECK: Type: SHT_STRTAB (0x3)
72 # CHECK: AddressAlignment: 1
7173 # CHECK: }
7274 # CHECK: Section {
7375 # CHECK: Name: .shstrtab (7)
7476 # CHECK: Type: SHT_STRTAB (0x3)
77 # CHECK: AddressAlignment: 1
7578 # CHECK: }
266266 // One greater than symbol table index of the last local symbol.
267267 SHeader.sh_info = Doc.Symbols.Local.size() + 1;
268268 SHeader.sh_entsize = sizeof(Elf_Sym);
269 SHeader.sh_addralign = 8;
269270
270271 std::vector Syms;
271272 {