[llvm] [DebugInfo] Add num_extra_inhabitants to debug info (PR #112590)

Paul T Robinson via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 16 14:40:05 PDT 2024


https://github.com/pogo59 commented:

A count of invalid bit patterns doesn't seem that helpful to the debugger. What would it do with this information? How would it know what the actual invalid bit patterns are? For example, an enum with two enumerators with values equal to 0 and 5 would have exactly the same number of "extra inhabitants" as bool.

https://github.com/llvm/llvm-project/pull/112590


More information about the llvm-commits mailing list