search for: swahn

Displaying 2 results from an estimated 2 matches for "swahn".

2017 Jul 14
2
Building aggregate types with dynamically sized elements
Hi, I'm looking into ways to represent complex aggregate types whose members and/or sub-members may be dynamically sized. This would conceptually correspond to a C struct containing other structs and arrays, and some of those arrays would have a length that is not known in compile time. LLVM IR allows me to do this for a top-level array (using 0 as its LLVM data type length and manually
2017 Jul 14
2
Building aggregate types with dynamically sized elements
...anguage capabilities implementing it. Delphi for example allows exactly that and finalizes its records through RTTI which allows to automatically free up the memory. 2017-07-14 10:26 GMT+02:00 David Chisnall via llvm-dev < llvm-dev at lists.llvm.org>: > On 14 Jul 2017, at 09:12, Christer Swahn via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > > > > I'm looking into ways to represent complex aggregate types whose members > and/or sub-members may be dynamically sized. This would conceptually > correspond to a C struct containing other structs and arrays,...