[llvm-commits] [llvm] r76447 - /llvm/trunk/include/llvm-c/Core.h

Bill Wendling isanbard at gmail.com
Mon Jul 20 12:45:23 PDT 2009


On Mon, Jul 20, 2009 at 11:46 AM, Bill Wendling<isanbard at gmail.com> wrote:
> On Mon, Jul 20, 2009 at 11:33 AM, Chris Lattner<clattner at apple.com> wrote:
>>
>> On Jul 20, 2009, at 11:22 AM, Bill Wendling wrote:
>>
>>> Author: void
>>> Date: Mon Jul 20 13:22:52 2009
>>> New Revision: 76447
>>>
>>> URL: http://llvm.org/viewvc/llvm-project?rev=76447&view=rev
>>> Log:
>>> Put new enum at end of list to avoid changing ABI.
>>
>> Just to verify: is there code in the C api's that maps from the C++
>> numbering to the C numbering?
>>
Okay. There isn't a "map" from C APIs to C++ numbering. It does a
static_cast of the GlobalValue::LinkageTypes to the equivalent C enum
type.

I'm still checking the LTO stuff, but I didn't see any uses of
LLVMLinkage anywhere other than in VMUtils/Core.cpp.

-bw



More information about the llvm-commits mailing list