[LLVMdev] PointerType API Change

Gordon Henriksen gordonhenriksen at mac.com
Sun Dec 16 22:19:13 PST 2007

On 2007-12-17, at 00:31, Christopher Lamb wrote:

> The API for getting PointerType objects has just changed to make  
> Embedded C address space information explicit. The old semantics of  
> PointerType::get() now apply to PointerType::getUnqual(), which  
> returns a pointer in the generic address space. PointerType::get()  
> now requires both a type and an address space.
> The clang, llvm-gcc-4.0, and llvm-gcc-4.2, and internal llvm  
> projects have all been updated to take this API change into account.
> The only current omission is the C interface to the LLVM type  
> system, which has not yet been updated to preserve or expose address  
> spaces on PointerType's. I'm hoping for a little help with that.

I've already written that locally and am updating the Ocaml bindings,  
so don't worry that point much.

— Gordon

More information about the llvm-dev mailing list