hanchenye-llvm-project/llvm/tools/lli
Daniel Malea a960c54d3a Add flag to lli to enable debugging of IR when used with MCJIT.
- warn users when -debug-ir is used with old JIT engine (only partial debug
  info is available) 

For example, to debug an IR file with GDB (that supports JIT registration), do:

$ gdb --args lli -use-mcjit -debug-ir testcase.ll
(gdb) break main
(gdb) run
<Process continues to lli main>
(gdb) continue
<Process continues to testcase.ll main()
(gdb) step
<Now stepping through the LLVM IR in testcase.ll>

llvm-svn: 185197
2013-06-28 19:11:40 +00:00
..
CMakeLists.txt Add flag to lli to enable debugging of IR when used with MCJIT. 2013-06-28 19:11:40 +00:00
LLVMBuild.txt Add flag to lli to enable debugging of IR when used with MCJIT. 2013-06-28 19:11:40 +00:00
Makefile Add flag to lli to enable debugging of IR when used with MCJIT. 2013-06-28 19:11:40 +00:00
RecordingMemoryManager.cpp
RecordingMemoryManager.h Minor changes to the MCJITTest unittests to use the correct API for finalizing 2013-05-17 10:01:46 +00:00
RemoteTarget.cpp
RemoteTarget.h
lli.cpp Add flag to lli to enable debugging of IR when used with MCJIT. 2013-06-28 19:11:40 +00:00