comparison include/llvm/ObjectYAML/ELFYAML.h @ 134:3a76565eade5 LLVM5.0.1

update 5.0.1
author mir3636
date Sat, 17 Feb 2018 09:57:20 +0900
parents 803732b1fca8
children c2174574ed3a
comparison
equal deleted inserted replaced
133:c60214abe0e8 134:3a76565eade5
81 struct ProgramHeader { 81 struct ProgramHeader {
82 ELF_PT Type; 82 ELF_PT Type;
83 ELF_PF Flags; 83 ELF_PF Flags;
84 llvm::yaml::Hex64 VAddr; 84 llvm::yaml::Hex64 VAddr;
85 llvm::yaml::Hex64 PAddr; 85 llvm::yaml::Hex64 PAddr;
86 Optional<llvm::yaml::Hex64> Align;
86 std::vector<SectionName> Sections; 87 std::vector<SectionName> Sections;
87 }; 88 };
88 89
89 struct Symbol { 90 struct Symbol {
90 StringRef Name; 91 StringRef Name;
204 // Although in reality the symbols reside in a section, it is a lot 205 // Although in reality the symbols reside in a section, it is a lot
205 // cleaner and nicer if we read them from the YAML as a separate 206 // cleaner and nicer if we read them from the YAML as a separate
206 // top-level key, which automatically ensures that invariants like there 207 // top-level key, which automatically ensures that invariants like there
207 // being a single SHT_SYMTAB section are upheld. 208 // being a single SHT_SYMTAB section are upheld.
208 LocalGlobalWeakSymbols Symbols; 209 LocalGlobalWeakSymbols Symbols;
210 LocalGlobalWeakSymbols DynamicSymbols;
209 }; 211 };
210 212
211 } // end namespace ELFYAML 213 } // end namespace ELFYAML
212 } // end namespace llvm 214 } // end namespace llvm
213 215