Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | libLTO: Add a utility method to initialize the disassemblers. | Benjamin Kramer | 2012-11-24 | 1 | -0/+26 |
Necessary to give disassembler users (like darwin's otool) a possibility to dlopen libLTO and still initialize the required LLVM bits. This used to go through libMCDisassembler but that's a gross layering violation, the MC layer can't pull in functions from the targets. Adding a function to libLTO is a bit of a hack but not worse than exposing other disassembler bits from libLTO. Fixes PR14362. llvm-svn: 168545 |