[llvm] [DebugInfo] Add num_extra_inhabitants to debug info (PR #112590)
Adrian Prantl via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 1 16:37:33 PDT 2024
================
@@ -712,31 +712,38 @@ class DIType : public DIScope {
DIFlags Flags;
uint64_t SizeInBits;
uint64_t OffsetInBits;
+ uint32_t NumExtraInhabitants;
----------------
adrian-prantl wrote:
Does the Swift frontend ever use the OffsetInBits? If not, we could store the extra inhabitants in there. (That would be an implementation detail of DIType and DIType would assert that you don't try to set both extra inhabitants and an offset).
https://github.com/llvm/llvm-project/pull/112590
More information about the llvm-commits
mailing list