Skip to content

Commit

Permalink
Fix build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
kovdan01 committed Apr 2, 2024
1 parent 7026d9e commit b5bf1ff
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions llvm/tools/llvm-readobj/ELFDumper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5117,9 +5117,8 @@ static bool printAArch64PAuthABICoreInfo(raw_ostream &OS, uint32_t DataSize,
}

uint64_t Platform =
support::endian::read64<ELFT::TargetEndianness>(Desc.data() + 0);
uint64_t Version =
support::endian::read64<ELFT::TargetEndianness>(Desc.data() + 8);
support::endian::read64<ELFT::Endianness>(Desc.data() + 0);
uint64_t Version = support::endian::read64<ELFT::Endianness>(Desc.data() + 8);

const char *PlatformDesc = [Platform]() {
switch (Platform) {
Expand Down

0 comments on commit b5bf1ff

Please sign in to comment.