aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorKostya Kortchinsky <kostyak@google.com>2019-07-11 19:55:53 +0000
committerKostya Kortchinsky <kostyak@google.com>2019-07-11 19:55:53 +0000
commit8f18a4c980be150695b3e8afe3644b58df9ee534 (patch)
tree9dd177ebbe5565f07b9044961cc2970db3a193c3 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent5dca95bc4e072fd734563e1b0737227c5805b531 (diff)
downloadllvm-8f18a4c980be150695b3e8afe3644b58df9ee534.zip
llvm-8f18a4c980be150695b3e8afe3644b58df9ee534.tar.gz
llvm-8f18a4c980be150695b3e8afe3644b58df9ee534.tar.bz2
[scudo][standalone] NFC corrections
Summary: A few corrections: - rename `TransferBatch::MaxCached` to `getMaxCached` to conform with the style guide; - move `getBlockBegin` from `Chunk::` to `Allocator::`: I believe it was a fallacy to have this be a `Chunk` method, as chunks' relationship to backend blocks are up to the frontend allocator. It makes more sense now, particularly with regard to the offset. Update the associated chunk test as the method isn't available there anymore; - add a forgotten `\n` to a log string; - for `releaseToOs`, instead of starting at `1`, start at `0` and `continue` on `BatchClassId`: in the end it's identical but doesn't assume a particular class id for batches; - change a `CHECK` to a `reportOutOfMemory`: it's a clearer message Reviewers: hctim, morehouse, eugenis, vitalybuka Reviewed By: hctim Subscribers: delcypher, #sanitizers, llvm-commits Tags: #llvm, #sanitizers Differential Revision: https://reviews.llvm.org/D64570 llvm-svn: 365816
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions