Plan of Attack for SPIRV and NVPTX

Nicholas Wilson via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Mon May 23 02:31:30 PDT 2016


On Monday, 23 May 2016 at 08:26:38 UTC, Johan Engelen wrote:
> On Monday, 23 May 2016 at 08:21:09 UTC, Nicholas Wilson wrote:
>>
>> How do you go about creating metadata?
>
> For that I usually also look at how Clang/LLVM does it. Often 
> there are helper functions around to create metadata.
> The llvm::MDBuilder class is useful too:  
> http://llvm.org/docs/doxygen/html/classllvm_1_1MDBuilder.html
>
> -Johan

Thanks

What type is a function pointer MDNode? A DISubroutineType?


More information about the digitalmars-d-ldc mailing list