[llvm-commits] [llvm] r88910 - /llvm/trunk/lib/VMCore/Core.cpp
Nick Lewycky
nicholas at mxc.ca
Mon Nov 23 21:35:38 PST 2009
Duncan Sands wrote:
> Hi Nick,
>
>> Also, this is the C API, so you can't fix this by changing the
>> signature on the C function, if it's ever been through a release.
>
> why not?
It started with libLTO. We wrote C bindings even though both LLVM and
the linker were written in C++ specifically to allow a mix and match of
versions. At that time, Chris declared that the C API would be
immutable. When we got more C API, we kept the same rule. I don't know
if any real-world user is relying on that API yet, but the theory is
that they could download LLVM 2.6, write using the C API, and we promise
it will work for the 2.x series (at least).
Nick
More information about the llvm-commits
mailing list