[PATCH] D97204: [RFC] Clang 64-bit source locations

Mikhail Maltsev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 23 06:15:22 PST 2021


miyuki added a comment.

In D97204#2580490 <https://reviews.llvm.org/D97204#2580490>, @akyrtzi wrote:

> Hi @miyuki,
>
>> A major thing worth noting is that 64-bit source locations will
>> require an ABI breakage in libclang. This patch changes the bit width
>> in libclang unconditionally, rather than making it configurable.
>
> Is it possible to make the libclang change configurable as well? A libclang ABI breakage would be problematic for us at Apple. We support dynamically loading and using multiple libclang dylibs from different toolchains, which can be different clang versions.

Yes, this should be possible. Python bindings will need some adjustments, but nothing overly complicated.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D97204



More information about the cfe-commits mailing list