aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/llvm/lib/Support/CodeGenCoverage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm-project/llvm/lib/Support/CodeGenCoverage.cpp')
-rw-r--r--contrib/llvm-project/llvm/lib/Support/CodeGenCoverage.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/llvm-project/llvm/lib/Support/CodeGenCoverage.cpp b/contrib/llvm-project/llvm/lib/Support/CodeGenCoverage.cpp
index d5ab77b9c66f..0df45b4ff2ba 100644
--- a/contrib/llvm-project/llvm/lib/Support/CodeGenCoverage.cpp
+++ b/contrib/llvm-project/llvm/lib/Support/CodeGenCoverage.cpp
@@ -58,7 +58,8 @@ bool CodeGenCoverage::parse(MemoryBuffer &Buffer, StringRef BackendName) {
if (std::distance(CurPtr, Buffer.getBufferEnd()) < 8)
return false; // Data is invalid. Not enough bytes for another rule id.
- uint64_t RuleID = support::endian::read64(CurPtr, support::native);
+ uint64_t RuleID =
+ support::endian::read64(CurPtr, llvm::endianness::native);
CurPtr += 8;
// ~0ull terminates the rule id list.