[PATCH] D114860: [llvm-c] Make LLVMAddAlias opaque pointer compatible

Duncan P. N. Exon Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 1 15:03:44 PST 2021


dexonsmith added a comment.

In D114860#3165439 <https://reviews.llvm.org/D114860#3165439>, @CodaFi wrote:

>> I think deleting functions with proper alternatives is fine, probably one at a time though so people can work through updating calls to those functions.
>
> This is not, and has never been, the policy for deprecation for C API functions. We have a strict policy of ABI compatibility (for better or for worse) in these C bindings, these functions must stay.

That strict policy changed a few years ago based on an llvm-dev discussion, whose result was documented in d9f8ce997773e18315e04ab17d052f1db926d77b / r255300. The policy since then has been "best effort". The current text is:
https://llvm.org/docs/DeveloperPolicy.html#c-api-changes


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114860/new/

https://reviews.llvm.org/D114860



More information about the llvm-commits mailing list