Dear LLVM,<br><br>Might be a easy question for someone, but not for me now. Consider there is a TargetMachine instance. Having this target, how could you get a corresponding Mangler class instance?<br><br>Mangler depends on MCContext, which is connected with LLVMTargetMachine inherited from TargetMachine. However, LLVMTargetMachine is only available for targets machines implementations, and not available externally.<br>
<br>How to solve this?<br><br>Thanks,<br>- Dima.<br><br>