OLD | NEW |
1 //===- subzero/src/IceELFObjectWriter.h - ELF object writer -----*- C++ -*-===// | 1 //===- subzero/src/IceELFObjectWriter.h - ELF object writer -----*- C++ -*-===// |
2 // | 2 // |
3 // The Subzero Code Generator | 3 // The Subzero Code Generator |
4 // | 4 // |
5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
7 // | 7 // |
8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
9 /// | 9 /// |
10 /// \file | 10 /// \file |
11 /// Abstraction for a writer that is responsible for writing an ELF file. | 11 /// \brief Abstraction for a writer that is responsible for writing an ELF file. |
12 /// | 12 /// |
13 //===----------------------------------------------------------------------===// | 13 //===----------------------------------------------------------------------===// |
14 | 14 |
15 #ifndef SUBZERO_SRC_ICEELFOBJECTWRITER_H | 15 #ifndef SUBZERO_SRC_ICEELFOBJECTWRITER_H |
16 #define SUBZERO_SRC_ICEELFOBJECTWRITER_H | 16 #define SUBZERO_SRC_ICEELFOBJECTWRITER_H |
17 | 17 |
18 #include "IceDefs.h" | 18 #include "IceDefs.h" |
19 #include "IceELFSection.h" | 19 #include "IceELFSection.h" |
20 #include "IceELFStreamer.h" | 20 #include "IceELFStreamer.h" |
21 #include "IceTypes.h" | 21 #include "IceTypes.h" |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 | 164 |
165 /// Write the ELF file header with the given information about sections. | 165 /// Write the ELF file header with the given information about sections. |
166 template <bool IsELF64> | 166 template <bool IsELF64> |
167 void writeELFHeaderInternal(Elf64_Off SectionHeaderOffset, | 167 void writeELFHeaderInternal(Elf64_Off SectionHeaderOffset, |
168 SizeT SectHeaderStrIndex, SizeT NumSections); | 168 SizeT SectHeaderStrIndex, SizeT NumSections); |
169 }; | 169 }; |
170 | 170 |
171 } // end of namespace Ice | 171 } // end of namespace Ice |
172 | 172 |
173 #endif // SUBZERO_SRC_ICEELFOBJECTWRITER_H | 173 #endif // SUBZERO_SRC_ICEELFOBJECTWRITER_H |
OLD | NEW |