| OLD | NEW |
| 1 //===- subzero/src/IceELFSection.cpp - Representation of ELF sections -----===// | 1 //===- subzero/src/IceELFSection.cpp - Representation of ELF sections -----===// |
| 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 /// This file defines how ELF sections are represented. | 11 /// \brief Defines how ELF sections are represented. |
| 12 /// | 12 /// |
| 13 //===----------------------------------------------------------------------===// | 13 //===----------------------------------------------------------------------===// |
| 14 | 14 |
| 15 #include "IceELFSection.h" | 15 #include "IceELFSection.h" |
| 16 | 16 |
| 17 #include "IceDefs.h" | 17 #include "IceDefs.h" |
| 18 #include "IceELFStreamer.h" | 18 #include "IceELFStreamer.h" |
| 19 #include "llvm/Support/MathExtras.h" | 19 #include "llvm/Support/MathExtras.h" |
| 20 | 20 |
| 21 using namespace llvm::ELF; | 21 using namespace llvm::ELF; |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 continue; | 219 continue; |
| 220 } | 220 } |
| 221 StringIndex.second = StringData.size(); | 221 StringIndex.second = StringData.size(); |
| 222 std::copy(Cur.begin(), Cur.end(), back_inserter(StringData)); | 222 std::copy(Cur.begin(), Cur.end(), back_inserter(StringData)); |
| 223 StringData.push_back(0); | 223 StringData.push_back(0); |
| 224 Prev = Cur; | 224 Prev = Cur; |
| 225 } | 225 } |
| 226 } | 226 } |
| 227 | 227 |
| 228 } // end of namespace Ice | 228 } // end of namespace Ice |
| OLD | NEW |