[Lldb-commits] [lldb] [lldb][Language] Sync LanguageType enumeration with DWARF codes (PR #161810)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Fri Oct 3 08:55:24 PDT 2025
Michael137 wrote:
> CI failing with another thing that depends on the size of this enum.
Ah looks like we've hit this limit here:
```
/// A 64-bit SmallBitVector is only small up to 64-7 bits, and the
/// setBitsInMask interface wants to write full bytes.
static const size_t g_num_small_bitvector_bits = 64 - 8;
static_assert(eNumLanguageTypes < g_num_small_bitvector_bits,
"Languages bit vector is no longer small on 64 bit systems");
LanguageSet::LanguageSet() : bitvector(eNumLanguageTypes, false) {}
```
Not sure we should really care about this though? Seems like the `LanguageSet` is just less efficient now. But this would have inevitably happened right?
https://github.com/llvm/llvm-project/pull/161810
More information about the lldb-commits
mailing list