> I'm not sure how to access those parts of LLVM from libclang. Besides, IIRC > targets are not linked into libclang. Do you have an idea? The LLVM targets? You shouldn't need them. All that you need is the DataLayout. With that you should be able to use lib/IR/Mangler. Cheers, Rafael