History log of /external/llvm/tools/lto/LTODisassembler.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8a2ce5d32987f99185f40eb3085a8972291f8d5c 24-Nov-2012 Benjamin Kramer <benny.kra@googlemail.com> libLTO: Add a utility method to initialize the disassemblers.

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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168545 91177308-0d34-0410-b5e6-96231b3b80d8