Skip to content

Commit b5bf1ff

Browse files
committed
Fix build failure
1 parent 7026d9e commit b5bf1ff

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

llvm/tools/llvm-readobj/ELFDumper.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5117,9 +5117,8 @@ static bool printAArch64PAuthABICoreInfo(raw_ostream &OS, uint32_t DataSize,
51175117
}
51185118

51195119
uint64_t Platform =
5120-
support::endian::read64<ELFT::TargetEndianness>(Desc.data() + 0);
5121-
uint64_t Version =
5122-
support::endian::read64<ELFT::TargetEndianness>(Desc.data() + 8);
5120+
support::endian::read64<ELFT::Endianness>(Desc.data() + 0);
5121+
uint64_t Version = support::endian::read64<ELFT::Endianness>(Desc.data() + 8);
51235122

51245123
const char *PlatformDesc = [Platform]() {
51255124
switch (Platform) {

0 commit comments

Comments
 (0)