aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInstance.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-01-20 03:15:45 +0000
committerGreg Clayton <gclayton@apple.com>2012-01-20 03:15:45 +0000
commitaa9d02b17cf6f9fb0ea37dd05e5a665bb8e6ad43 (patch)
treeedc9ef4577ce3afa5c545f8892dacd865b0a565d /clang/lib/Frontend/CompilerInstance.cpp
parent415c72cbfbf108c8bdbb42f879226f1c3d7054cc (diff)
downloadllvm-aa9d02b17cf6f9fb0ea37dd05e5a665bb8e6ad43.zip
llvm-aa9d02b17cf6f9fb0ea37dd05e5a665bb8e6ad43.tar.gz
llvm-aa9d02b17cf6f9fb0ea37dd05e5a665bb8e6ad43.tar.bz2
Modified the symbolicate-crash.py so it can be imported into python as a
module (you can't import a module with a '-' in it) and also added a Symbolcate(...) top level function so it can be imported and used as an LLDB command. Then you can import the module and map a "crashlog" command (for darwin use only currently) to the python function "crashlog.Symbolicate": (lldb) script import crashlog (lldb) command script add -f crashlog.Symbolicate crashlog Then use it to symbolicate: (lldb) crashlog --crash-log /path/to/foo.crash The crash log will then get symbolicated and inline frames will be added to the crash log and the frames will be displayed. The crash log currently will only try and fetch and setup the target images requires in order to do the symbolication. This will need to be iterated upon, but it is getting close to being useful so I am going to check this in. llvm-svn: 148528
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
0 files changed, 0 insertions, 0 deletions