construct a DIType from Type

Hello,

Is there anyone that has some experience of creating a llvm::DIType from a llvm::Type ? I thought it should be but haven’t found a proper method to do that after checking DIBuilder class

thanks

Hello,

Is there anyone that has some experience of creating a llvm::DIType from a
llvm::Type ?

You might want to check the recently deleted debug-ir pass which added
debug info based on LLVM IR (otherwise you wouldn't usually try to build an
llvm::DIType from an llvm::Type - you'd want to build it from your high
level language information).