On 9 Oct 2019, Indu Bhagat told this: > Yes, CTF does not support C++ at this time. To cover all of C (including > GNU C extensions), we need to add representation for things like Vector type, > non IEEE float etc. (somewhat infrequently occurring constructs)
One note: adding C++ support will not make the representation of CTF for C any larger, because I plan to do as DWARF does and have a language tag in the header, and only support one language per CTF dictionary[1]. The type section format will otherwise be completely distinct between the two languages, specifically in order that the C side of things not pay the price for the (necessarily richer) C++ type representation. This is very much a C++ thing: don't pay for what you don't use :) So there's no need to worry that adding C++ support will make any C compactness figures worse. You only need to consider that the C++ CTF representation may not be able to be as compact as the C representation -- and even there I hope to come close. [1! though there is a possibility of having a C++ dictionary cite types from a C one, allowing some sharing: this is all format v5 stuff, i.e. two format revs away, and this bit in particular is not yet designed, but feels possible.)