Displaying 2 results from an estimated 2 matches for "2b53a0c4".
Did you mean:
2a53a0c6
2015 Jul 26
0
[LLVMdev] [un]wrapping llvm:DITypeRef
...vm.org/klaus/llvm/blob/master/bindings/go/llvm/DIBuilderBindings.h
(You could have DIType-specific wrap/unwrap too, using the same method.)
HTH,
Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150726/2b53a0c4/attachment.html>
2015 Jul 25
4
[LLVMdev] [un]wrapping llvm:DITypeRef
In trying to write a C binding for DIBuilder of llvm 3.6.1, I can't see a way to unwrap
llvm::DITypeRef, declared in include/llvm/IR/DebugInfo.h. This is a class with one
data member, a pointer to Metadata.
If I try to make my C type a struct with one pointer, I can't cast it to DITypeRef.
If I try to go inside the classes and use the pointer, I can cast, but can't construct
a