It is non-trivial as I have tried to reuse the ReservedBit4 so posting as a separate patch for D101237.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
DICompositeType has a "SizeInBits" field - can that be used to specify a size of 0, instead of adding a new flag to convey this?
Comment Actions
In C and Swift we express zero-sized types by just setting their bitsize to 0. Why doesn't this work for OCaml?
llvm/include/llvm-c/DebugInfo.h | ||
---|---|---|
34 | If you change the C API, please make sure you add a note about it. It would also be preferable to add a test case. Other already have asked question about the approach here, so I won't double down there. |
If you change the C API, please make sure you add a note about it. It would also be preferable to add a test case.
Other already have asked question about the approach here, so I won't double down there.