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

Chris Lattner clattner at apple.com
Mon Jul 20 11:33:46 PDT 2009


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?

-Chris

>
> Modified:
>    llvm/trunk/include/llvm-c/Core.h
>
> Modified: llvm/trunk/include/llvm-c/Core.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm-c/Core.h?rev=76447&r1=76446&r2=76447&view=diff
>
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> ======================================================================
> --- llvm/trunk/include/llvm-c/Core.h (original)
> +++ llvm/trunk/include/llvm-c/Core.h Mon Jul 20 13:22:52 2009
> @@ -141,13 +141,13 @@
>   LLVMInternalLinkage,    /**< Rename collisions when linking (static
>                                functions) */
>   LLVMPrivateLinkage,     /**< Like Internal, but omit from symbol  
> table */
> -  LLVMLinkerPrivateLinkage, /**< Like Private, but linker removes. */
>   LLVMDLLImportLinkage,   /**< Function to be imported from DLL */
>   LLVMDLLExportLinkage,   /**< Function to be accessible from DLL */
>   LLVMExternalWeakLinkage,/**< ExternalWeak linkage description */
>   LLVMGhostLinkage,       /**< Stand-in functions for streaming fns  
> from
>                                bitcode */
> -  LLVMCommonLinkage       /**< Tentative definitions */
> +  LLVMCommonLinkage,      /**< Tentative definitions */
> +  LLVMLinkerPrivateLinkage /**< Like Private, but linker removes. */
> } LLVMLinkage;
>
> typedef enum {
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list