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 Remove exception handling support from the old JIT. 2013-05-07 20:53:59 +00:00
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 Mark code, not data, as executable in lli RemoteTarget simulator. 2012-10-31 20:37:14 +00:00
RemoteTarget.h Sort the #include lines for tools/... 2012-12-04 10:44:52 +00:00
lli.cpp Add flag to lli to enable debugging of IR when used with MCJIT. 2013-06-28 19:11:40 +00:00