[PATCH] D68561: [ELF][MIPS] Use lld::elf::{read,write}* instead of llvm::support::endian::{read,write}*

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 7 00:47:59 PDT 2019


MaskRay created this revision.
MaskRay added reviewers: atanasyan, ruiu.
Herald added subscribers: llvm-commits, jrtc27, arichardson, sdardis, emaste.
Herald added a reviewer: espindola.
Herald added a project: LLVM.

This allows us to delete `using namespace llvm::support::endian` and
simplify D68323 <https://reviews.llvm.org/D68323>. This change adds runtime config->endianness check but
the overhead should be negligible.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D68561

Files:
  ELF/Arch/Mips.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68561.223453.patch
Type: text/x-patch
Size: 11893 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191007/1003b73b/attachment.bin>


More information about the llvm-commits mailing list