diff options
author | Kostya Kortchinsky <kostyak@google.com> | 2019-11-14 14:33:23 -0800 |
---|---|---|
committer | Kostya Kortchinsky <kostyak@google.com> | 2019-11-15 08:33:57 -0800 |
commit | f018246c20481d222af4bab1868e8903c35c73d2 (patch) | |
tree | 1374279d970ef6f55d7528591cc48f5447120bb0 /lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp | |
parent | 713c30b389602eda5c70b696e8c640487cc8b2cb (diff) | |
download | bcm5719-llvm-f018246c20481d222af4bab1868e8903c35c73d2.tar.gz bcm5719-llvm-f018246c20481d222af4bab1868e8903c35c73d2.zip |
[scudo][standalone] Enabled SCUDO_DEBUG for tests + fixes
Summary:
`SCUDO_DEBUG` was not enabled for unit tests, meaning the `DCHECK`s
were never tripped. While turning this on, I discovered that a few
of those not-exercised checks were actually wrong. This CL addresses
those incorrect checks.
Not that to work in tests `CHECK_IMPL` has to explicitely use the
`scudo` namespace. Also changes a C cast to a C++ cast.
Reviewers: hctim, pcc, cferris, eugenis, vitalybuka
Subscribers: mgorny, #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D70276
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp')
0 files changed, 0 insertions, 0 deletions