diff options
author | Greg Clayton <gclayton@apple.com> | 2013-06-19 01:38:02 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2013-06-19 01:38:02 +0000 |
commit | 88e0f618ea6fe15c633d99772d22cace838e3e28 (patch) | |
tree | ed7231b3bfc837d04640483372fc8049b6254bf3 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 67416d72a5ac2778677ca8e31437f9196daffecd (diff) | |
download | bcm5719-llvm-88e0f618ea6fe15c633d99772d22cace838e3e28.tar.gz bcm5719-llvm-88e0f618ea6fe15c633d99772d22cace838e3e28.zip |
Added a new decorator function in the "lldb" module that can register a command automatically. We have just a few kinks to work out for the Xcode workflow and we will be ready to switch over to using this. To use this, you can decorate your python function as:
@lldb.command("new_command", "Documentation string for new_command...")
def new_command(debugger, command, result, dict):
....
No more need to register your command in the __lldb_init_module function!
llvm-svn: 184274
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions