diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-11-24 16:59:10 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-11-24 16:59:10 +0000 |
commit | 9bcb9226f6b03d143b47cdeb894002f394975a21 (patch) | |
tree | 2ebe29601596300c144a04f335e25dfe8d3cf97e /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 1694f91266637bbd63f275e056e5c20f53ba789a (diff) | |
download | llvm-9bcb9226f6b03d143b47cdeb894002f394975a21.zip llvm-9bcb9226f6b03d143b47cdeb894002f394975a21.tar.gz llvm-9bcb9226f6b03d143b47cdeb894002f394975a21.tar.bz2 |
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.
llvm-svn: 168545
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions