diff options
Diffstat (limited to 'llvm/lib/Object/OffloadBundle.cpp')
| -rw-r--r-- | llvm/lib/Object/OffloadBundle.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Object/OffloadBundle.cpp b/llvm/lib/Object/OffloadBundle.cpp index a4c1e0547a5b..1e1042ce2bc2 100644 --- a/llvm/lib/Object/OffloadBundle.cpp +++ b/llvm/lib/Object/OffloadBundle.cpp @@ -339,8 +339,7 @@ CompressedOffloadBundle::decompress(llvm::MemoryBufferRef &Input, HashRecalcTimer.startTimer(); llvm::MD5 Hash; llvm::MD5::MD5Result Result; - Hash.update(llvm::ArrayRef<uint8_t>(DecompressedData.data(), - DecompressedData.size())); + Hash.update(llvm::ArrayRef<uint8_t>(DecompressedData)); Hash.final(Result); uint64_t RecalculatedHash = Result.low(); HashRecalcTimer.stopTimer(); |
