search for: llvmdefaultvisibility

Displaying 3 results from an estimated 3 matches for "llvmdefaultvisibility".

2007 Sep 17
1
[LLVMdev] C interface
...LVM IR type system. It's great to see a C interface being added. A minor niggle: > +typedef enum { > + LLVMVoidTypeKind = 0, /* type with no size */ > ... > +typedef enum { > + LLVMExternalLinkage = 0,/* Externally visible function */ > ... > +typedef enum { > + LLVMDefaultVisibility = 0, /* The GV is visible */ It's defined by the language that the first enumerate's zero so the initialisation is redundant. As someone reading the source, it would make me halt and wonder why it's been done, "What am I missing?". Similar to seeing a `static int foo = 0...
2007 Sep 17
0
[LLVMdev] C interface
On Sep 12, 2007, at 01:01, Gordon Henriksen wrote: > I'm authoring a C interface to the LLVM IR type system. Since this > is Really Quite Tedious, I would like to solicit opinions before I > get too far down any paths that seem offensive. I've attached the > header, where I've mapped a portion of Module and most of Type and > its subclasses. This is working, and
2007 Sep 12
7
[LLVMdev] C interface
Hi all, I'm authoring a C interface to the LLVM IR type system. Since this is Really Quite Tedious, I would like to solicit opinions before I get too far down any paths that seem offensive. I've attached the header, where I've mapped a portion of Module and most of Type and its subclasses. This is working, and I've built ocaml bindings on top of it.[1] My intent is to