First of a series of relocation patches.
Details
Diff Detail
Event Timeline
Commments inline.
lib/ReaderWriter/ELF/X86_64/X86_64RelocationHandler.cpp | ||
---|---|---|
62 | This follows the style of the rest of the file, wouldn't be better commit the patch as is and change the style for the whole file in a subsequent pass? | |
64 | Ditto. No, it did not, I tried to be consistent to what was already there. |
lib/ReaderWriter/ELF/X86_64/X86_64RelocationHandler.cpp | ||
---|---|---|
64 | Can you just use endian::read and endian::write functions? |
Can we add llvm::support::endian::read{le,be}{16,32,64}(void *)
and llvm::support::endian::write{le,be}{16,32,64}(void *, uint64_t)?
Can you add using llvm::support::ulittle64_t at beginning of the file and use that here?