summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-07-24 18:17:43 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-07-24 18:17:43 +0000
commitd792c9bb4686463d86fefa0d98406490fa60df92 (patch)
treecf82dc85534c4e8e3e2d3ff7f06a1edcc56f7ae0 /llvm/lib/Transforms
parent3204d4ed4ea8404bd883971e585b1d4064b92ec5 (diff)
downloadbcm5719-llvm-d792c9bb4686463d86fefa0d98406490fa60df92.tar.gz
bcm5719-llvm-d792c9bb4686463d86fefa0d98406490fa60df92.zip
Major addition to bugpoint: ability to debug code generators (LLC and LLI).
The C backend is assumed correct and is used to generate shared objects to be loaded by the other two code generators. LLC debugging should be functional now, LLI needs a few more additions to work, the major one is renaming of external functions to call the JIT lazy function resolver. Bugpoint now has a command-line switch -mode with options 'compile' and 'codegen' to debug appropriate portions of tools. ExecutionDriver.cpp: Added implementations of AbstractInterpreter for LLC and GCC, broke out common code within other tools, and added ability to generate C code with CBE individually, without executing the program, and the GCC tool can generate executables shared objects or executables. If no reference output is specified to Bugpoint, it will be generated with CBE, because it is already assumed to be correct for the purposes of debugging using this method. As a result, many functions now accept as an optional parameter a shared object to be loaded in, if specified. llvm-svn: 7293
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud