HomePhabricator

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

Authored by MaskRay on Oct 7 2019, 1:30 AM.

Description

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

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

Reviewed By: ruiu

Differential Revision: https://reviews.llvm.org/D68561

llvm-svn: 373884

Details

Committed
MaskRayOct 7 2019, 1:30 AM
Reviewer
ruiu
Differential Revision
D68561: [ELF][MIPS] Use lld::elf::{read,write}* instead of llvm::support::endian::{read,write}*
Parents
rGbeb696e2a68c: [TableGen] Pacify gcc-5.4 more
Branches
Unknown
Tags
Unknown