llvm-6502/tools
Alex Lorenz a15d888abf MIR Serialization: Connect the machine function analysis pass to the MIR parser.
This commit connects the machine function analysis pass (which creates machine
functions) to the MIR parser, which will initialize the machine functions 
with the state from the MIR file and reconstruct the machine IR.

This commit introduces a new interface called 'MachineFunctionInitializer',
which can be used to provide custom initialization for the machine functions.

This commit also introduces a new diagnostic class called 
'DiagnosticInfoMIRParser' which is used for MIR parsing errors.
This commit modifies the default diagnostic handling in LLVMContext - now the
the diagnostics are printed directly into llvm::errs() so that the MIR parsing 
errors can be printed with colours.  

Reviewers: Justin Bogner

Differential Revision: http://reviews.llvm.org/D9928


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239753 91177308-0d34-0410-b5e6-96231b3b80d8
2015-06-15 20:30:22 +00:00
..
bugpoint Wrap some long lines in LLVMBuild files. NFC 2015-06-12 18:44:57 +00:00
bugpoint-passes bugpoint Enhancement. 2015-04-20 23:42:22 +00:00
dsymutil Revert r239721 - Replace string GNU Triples with llvm::Triple in InitMCObjectFileInfo. NFC. 2015-06-15 10:34:38 +00:00
gold gold-plugin: save the .o when given -save-temps. 2015-06-15 13:36:27 +00:00
llc MIR Serialization: Connect the machine function analysis pass to the MIR parser. 2015-06-15 20:30:22 +00:00
lli [Orc] Tidy up initialization based on review feedback for r239561 from dblaikie. 2015-06-12 23:13:06 +00:00
llvm-ar LibDriver, llvm-lib: introduce. 2015-06-09 21:50:22 +00:00
llvm-as Fix input validation issues in llvm-as/llvm-dis 2015-05-11 21:20:20 +00:00
llvm-bcanalyzer [llvm-bcanalyzer] Add -show-binary-blobs option. 2015-05-13 18:51:49 +00:00
llvm-c-test Fix build breakage caused by memory leaks in llvm-c-test 2015-01-28 18:32:31 +00:00
llvm-config Refactoring CMake CrossCompile module. 2015-03-12 17:33:34 +00:00
llvm-cov llvm-cov: Make llvm-cov --version DTRT 2015-06-03 02:48:09 +00:00
llvm-cxxdump Simplify another function that doesn't fail. 2015-06-01 00:27:26 +00:00
llvm-diff Revert "Remove the explicit SDNodeIterator::operator= in favor of the implicit default" 2015-03-03 21:18:16 +00:00
llvm-dis Fix input validation issues in llvm-as/llvm-dis 2015-05-11 21:20:20 +00:00
llvm-dwarfdump Add llvm-dwarfdump-fuzzer that uses LibFuzzer to fuzz llvm-dwarfdump tool. 2015-05-28 18:35:18 +00:00
llvm-extract uselistorder: Remove the global bits 2015-04-15 03:14:06 +00:00
llvm-go llvm-go: Set $GCCGO instead of putting a gccgo executable on $PATH. 2015-02-14 01:45:57 +00:00
llvm-jitlistener Wrap some long lines in LLVMBuild files. NFC 2015-06-12 18:44:57 +00:00
llvm-link Linker: Add flag to override linkage rules 2015-04-22 04:11:00 +00:00
llvm-lto add missing dependency on Target lib for tools 2015-06-03 19:07:51 +00:00
llvm-mc Revert r239721 - Replace string GNU Triples with llvm::Triple in InitMCObjectFileInfo. NFC. 2015-06-15 10:34:38 +00:00
llvm-mcmarkup Explicitly pass ownership of the MemoryBuffer to AddNewSourceBuffer using std::unique_ptr 2014-08-21 20:44:56 +00:00
llvm-nm Simplify another function that doesn't fail. 2015-06-01 00:27:26 +00:00
llvm-objdump Remove object_error::success and use std::error_code() instead 2015-06-09 15:20:42 +00:00
llvm-pdbdump Replace push_back(Constructor(foo)) with emplace_back(foo) for non-trivial types 2015-05-29 19:43:39 +00:00
llvm-profdata Purge unused includes throughout libSupport. 2015-03-23 18:07:13 +00:00
llvm-readobj Have the ELF symbol predicates match more directly the spec. 2015-06-12 17:23:39 +00:00
llvm-rtdyld RuntimeDyld: override EH frame registration with trivial version. 2015-06-03 18:26:52 +00:00
llvm-shlib Updating symbol wildcards one more time. 2015-04-16 21:58:22 +00:00
llvm-size [Object, MachO] Introduce MachOObjectFile::load_commands() range iterator. 2015-06-03 22:19:36 +00:00
llvm-stress Verifier: Remove the separate -verify-di pass 2015-03-19 22:24:17 +00:00
llvm-symbolizer Simplify another function that doesn't fail. 2015-06-01 00:27:26 +00:00
lto add missing dependency on Target lib for tools 2015-06-03 19:07:51 +00:00
macho-dump [Object, MachO] Introduce MachOObjectFile::load_commands() range iterator. 2015-06-03 22:19:36 +00:00
msbuild MSBuild integration: fix the loop in install.bat 2014-09-30 22:30:06 +00:00
obj2yaml Remove object_error::success and use std::error_code() instead 2015-06-09 15:20:42 +00:00
opt Wrap some long lines in LLVMBuild files. NFC 2015-06-12 18:44:57 +00:00
verify-uselistorder uselistorder: Pull the assembly bit up out of the printer 2015-04-15 02:12:41 +00:00
yaml2obj Simplify now that we always use an alignment of 2 for ELF files. 2015-06-02 12:05:27 +00:00
CMakeLists.txt llvm-cxxdump: Rename llvm-vtabledump to llvm-cxxdump 2015-03-15 01:30:58 +00:00
LLVMBuild.txt Wrap some long lines in LLVMBuild files. NFC 2015-06-12 18:44:57 +00:00
Makefile Do not build LLD from tools/Makefile, as LLD no longer has a Makefile build. 2015-06-08 04:04:13 +00:00