[flang-commits] [flang] [flang] Add ability to have special allocator for descriptor data (PR #100690)

Peter Klausler via flang-commits flang-commits at lists.llvm.org
Wed Jul 31 14:19:55 PDT 2024


Valentin Clement =?utf-8?b?KOODkOODrOODsw=?=,Valentin Clement
 <clementval at gmail.com>,Valentin Clement =?utf-8?b?KOODkOODrOODsw=?=,
Valentin Clement =?utf-8?b?KOODkOODrOODsw=?=,Valentin Clement
 <clementval at gmail.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/100690 at github.com>


================
@@ -146,7 +146,16 @@ extern "C++" template <typename T> struct FlexibleArray : T {
   CFI_rank_t rank; /* [0 .. CFI_MAX_RANK] */ \
   CFI_type_t type; \
   CFI_attribute_t attribute; \
-  unsigned char f18Addendum;
+  /* This encodes both the presence of the f18Addendum and the index of the \
----------------
klausler wrote:

Can these definitions that deal with the `extra` field be moved from this user API header file down into the runtime's `descriptor.h` implementation header?  Application programs don't need to see them.

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


More information about the flang-commits mailing list