[cfe-dev] Any ABI implications with TargetInfo
Chris Lattner
clattner at apple.com
Sat Jul 11 11:19:29 PDT 2009
On Jul 11, 2009, at 6:51 AM, Sebastian Redl wrote:
> AlisdairM(public) wrote:
>> Adding support for char16_t/char32_t will require adding 4 new data
>> members to TargetInfo, for size and alignment respectively. Are
>> there any layout requirements I should be aware of when adding data
>> members to existing structures? Should I append these new fields
>> to the end of the current protected members? Or insert them where
>> they seem most appropriate, probably immediately following the
>> wchar_t fields?
>>
> I think as Clang hasn't been formally released yet, we have no ABI to
> conform to.
Right, LLVM in general only provides API compatibility guarantees for
its C bindings. C++ APIs can change at any time.
-Chris
More information about the cfe-dev
mailing list