llvm-6502/include/llvm
Chandler Carruth 7c00d18607 [Modules] Fix a layering issue that is actually impacting the modules
selfhost.

The 'Core.h' C-API header is part of the IR LLVM library. (One might
even argue it should be called IR.h, but that's a separate point.) We
can't include it into a Support header without violating the layering,
and in a way that breaks modules. MemoryBuffer's opaque C type was being
defined in the Core.h C-API header despite being in the Support library,
and thus we ended up with this weird issue.

It turns out that there were other constructs from the Support library
in the Core.h header. This patch lifts all of them into Support.h and
then includes that into Core.h.

The only possible fallout is if someone was including Support.h and
relying on Core.h to be visible for their own uses. Considering the
narrow interface actually provided by the C-API for the Support library,
this seems a very, very unlikely mistake.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203071 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-06 04:13:12 +00:00
..
ADT [cleanup] Re-sort the standard library include lines. 2014-03-06 03:43:04 +00:00
Analysis [Layering] Move InstVisitor.h into the IR library as it is pretty 2014-03-06 03:23:41 +00:00
AsmParser
Bitcode
CodeGen
Config
DebugInfo
ExecutionEngine
IR [Layering] Move GVMaterializer.h into the IR library where its 2014-03-06 03:50:29 +00:00
IRReader
LineEditor
Linker [Layering] Sink Linker.h into a Linker subdirectory to make it 2014-03-06 03:42:23 +00:00
LTO [Layering] Sink Linker.h into a Linker subdirectory to make it 2014-03-06 03:42:23 +00:00
MC Always print the implicit .text at the start of an asm file. 2014-03-05 20:09:15 +00:00
Object
Option
Support [Modules] Fix a layering issue that is actually impacting the modules 2014-03-06 04:13:12 +00:00
TableGen
Target
Transforms
CMakeLists.txt
InitializePasses.h
LinkAllIR.h
LinkAllPasses.h
Pass.h
PassAnalysisSupport.h
PassManager.h
PassRegistry.h
PassSupport.h