Split Disassembler.h in two to fix dependencies
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 29 Mar 2018 00:29:44 +0000 (00:29 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Thu, 29 Mar 2018 00:29:44 +0000 (00:29 +0000)
commit3d94e9f320b955f859bbae26ab80530d255254db
treeafb782c0e97f73f13a32f28701171f82ad89a7cf
parent10f71304b763ffb3df4ac26bc42422315e37c19b
Split Disassembler.h in two to fix dependencies

Support includes this header for the typedefs - but logically it's part
of the MC/Disassembler library that implements the functions. Split the
header so as not to create a circular dependency.

This is another case where probably inverting the llvm-c implementation
might be best (rather than core llvm libraries implementing the parts of
llvm-c - instead llvm-c could be its own library, depending on all the
parts of LLVM's core libraries to then implement llvm-c on top of
them... if that makes sense)

llvm-svn: 328744
llvm/include/llvm-c/Disassembler.h
llvm/include/llvm-c/DisassemblerTypes.h [new file with mode: 0644]
llvm/include/llvm/Support/TargetRegistry.h