diff options
| author | Joey Gouly <joey.gouly@gmail.com> | 2014-01-03 23:12:02 +0000 |
|---|---|---|
| committer | Joey Gouly <joey.gouly@gmail.com> | 2014-01-03 23:12:02 +0000 |
| commit | ceb16dedefc7833b3f3b7305e751ad9ba748d99b (patch) | |
| tree | 7158a67f016d6a8bece0f3cf0b35fd8d62f6ce46 /lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp | |
| parent | 0724bf67672c754aa61ce2659939450ff22c30fa (diff) | |
| download | bcm5719-llvm-ceb16dedefc7833b3f3b7305e751ad9ba748d99b.tar.gz bcm5719-llvm-ceb16dedefc7833b3f3b7305e751ad9ba748d99b.zip | |
[MachO] Begin to add some MachO specific File/Atoms, and add the start of
normalizedToAtoms.
llvm-svn: 198459
Diffstat (limited to 'lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp')
| -rw-r--r-- | lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp b/lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp index 0d73ec81180..1479ac20da2 100644 --- a/lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp +++ b/lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp @@ -423,7 +423,7 @@ void Util::appendSection(SectionInfo *si, NormalizedFile &file) { // Copy content from atoms to content buffer for section. // FIXME: zerofill atoms/sections should not take up content space. normSect->content.resize(si->size); - Hex8 *sectionContent = normSect->content.data(); + uint8_t *sectionContent = normSect->content.data(); for (AtomInfo &ai : si->atomsAndOffsets) { // Copy raw bytes. uint8_t *atomContent = reinterpret_cast<uint8_t*> |

