HomePhabricator

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

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

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
rL373883: [TableGen] Pacify gcc-5.4 more
Branches
Unknown
Tags
Unknown