[LLVMdev] How to create a mangler instance from target machine?

Dmitry N. Mikushin maemarcus at gmail.com
Tue Jul 31 14:46:44 PDT 2012


Dear LLVM,

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?

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.

How to solve this?

Thanks,
- Dima.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120731/81d6c02d/attachment.html>


More information about the llvm-dev mailing list