[LLVMdev] std::cout << *MyModule does not work anymore

Eli Friedman eli.friedman at gmail.com
Wed Aug 26 13:36:04 PDT 2009


On Wed, Aug 26, 2009 at 1:34 PM, Eli Friedman<eli.friedman at gmail.com> wrote:
> On Wed, Aug 26, 2009 at 1:20 PM, Chris Lattner<clattner at apple.com> wrote:
>>
>> On Aug 25, 2009, at 11:34 PM, Albert Graef wrote:
>>
>>> Chris Lattner wrote:
>>>> Given that we don't guarantee backwards compatibility and prefer to
>>>> keep
>>>> our APIs clean and tidy, why should we take this?
>>>
>>> I already said that: To make it easier for out-of-tree frontends to
>>> support at least the last few LLVM versions. If that's a low priority
>>> then don't. I can live with it.
>>
>> I don't understand how that can be.  We have made *many dramatic API
>> changes* in those releases, surely this isn't the only problem you
>> have hit.  Are you using the C++ APIs?  We try to keep the C apis as
>> stable as possible, is it possible to use those?
>>
>> Just to be clear, I'm not trying to be a butthead about this :).  I
>> just see that API stability in almost a binary way: you either try to
>> keep it or not.  If not, I don't think that trying to paper over small
>> changes like this is worth it.
>
> Mmm... I agree in general, but I think it's worth considering that
> this change could silently hit someone updating from an older version
> of LLVM.

Oh, wait, nevermind... I wasn't reading this thread carefully enough.

-Eli




More information about the llvm-dev mailing list