[lldb] Actually support more than 32 logging categories
authorJonas Devlieghere <jonas@devlieghere.com>
Mon, 19 Sep 2022 23:20:50 +0000 (16:20 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Tue, 20 Sep 2022 05:31:20 +0000 (22:31 -0700)
commit3b4db10f3492dfbab705ca4b2dd19d32fee075b9
tree7d63424278c29d1af77b996a00fced91ff307fe2
parent181279ffcde14fb4486de5350ba784ac9ceec338
[lldb] Actually support more than 32 logging categories

In January, Greg put up a patch (D117382) to support, among other
things, more than 32 log categories. That led to a bunch of nice
cleanups, but categories remained constrained because different parts of
the code were still using uint32_t. This patch fixes the remaining
issues and makes it possible to add a 32nd log category.

Differential revision: https://reviews.llvm.org/D134245
lldb/include/lldb/Utility/LLDBLog.h
lldb/include/lldb/Utility/Log.h
lldb/source/Utility/Log.cpp
lldb/unittests/Utility/LogTest.cpp