This is an archive of the discontinued LLVM Phabricator instance.

[LLVM-C] Miscellaneous Cleanups in DIBuilder Bindings
ClosedPublic

Authored by CodaFi on Apr 26 2018, 7:56 PM.

Details

Summary
  • rL328953 does not include bindings for LLVMDIBuilderCreateClassType and LLVMDIBuilderCreateBitFieldMemberType despite declaring their prototypes. Provide these bindings now.
  • Switch to more precise types with specific numeric limits matching the DIBuilder's C++ API.

Diff Detail

Repository
rL LLVM

Event Timeline

CodaFi created this revision.Apr 26 2018, 7:56 PM

Did these ever appear in a release? They change ABI, so if yes, this needs renaming every function to a *2 variant.

Unless there has been a release since 6.0(.1), we should be free to change these. We merged the referenced patch after that.

This revision is now accepted and ready to land.Apr 28 2018, 12:08 AM
This revision was automatically updated to reflect the committed changes.