mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
0d572a30c9
This untangles the MCContext and the MCObjectFileInfo. There is a circular dependency between MCContext and MCObjectFileInfo. Currently this dependency also exists during construction: You can't contruct a MOFI without a MCContext without constructing the MCContext with a dummy version of that MOFI first. This removes this dependency during construction. In a perfect world, MCObjectFileInfo wouldn't depend on MCContext at all, but only be stored in the MCContext, like other MC information. This is future work. This also shifts/adds more information to the MCContext making it more available to the different targets. Namely: - TargetTriple - ObjectFileType - SubtargetInfo Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D101462 |
||
---|---|---|
.. | ||
CallContext.h | ||
CMakeLists.txt | ||
CSPreInliner.cpp | ||
CSPreInliner.h | ||
ErrorHandling.h | ||
llvm-profgen.cpp | ||
PerfReader.cpp | ||
PerfReader.h | ||
ProfiledBinary.cpp | ||
ProfiledBinary.h | ||
ProfileGenerator.cpp | ||
ProfileGenerator.h | ||
PseudoProbe.cpp | ||
PseudoProbe.h |