summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp
diff options
context:
space:
mode:
authorKostya Kortchinsky <kostyak@google.com>2018-02-27 16:14:49 +0000
committerKostya Kortchinsky <kostyak@google.com>2018-02-27 16:14:49 +0000
commitbeeea6227b4e9c56b995891708e258c2b78e611d (patch)
tree73f0eaa51b3eea9fb1226a34f32249845cdc6410 /lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp
parent6e066350d8dcfac70e8a038e9ea580dacb56d08d (diff)
downloadbcm5719-llvm-beeea6227b4e9c56b995891708e258c2b78e611d.tar.gz
bcm5719-llvm-beeea6227b4e9c56b995891708e258c2b78e611d.zip
[scudo] Introduce Chunk::getHeaderSize
Summary: Instead of using `AlignedChunkHeaderSize`, introduce a `constexpr` function `getHeaderSize` in the `Chunk` namespace. Switch `RoundUpTo` to a `constexpr` as well (so we can use it in `constexpr` declarations). Mark a few variables in the areas touched as `const`. Overall this has no functional change, and is mostly to make things a bit more consistent. Reviewers: alekseyshl Reviewed By: alekseyshl Subscribers: delcypher, #sanitizers, llvm-commits Differential Revision: https://reviews.llvm.org/D43772 llvm-svn: 326206
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud