summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Hexagon/HexagonISelLowering.cpp
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2013-05-07 19:49:59 +0000
committerEnrico Granata <egranata@apple.com>2013-05-07 19:49:59 +0000
commitc8b36f160c085d527c3bd0569b54f315a7072828 (patch)
treea8a40ec9cd69fbb027e6a0f4e5987b9186cf9658 /llvm/lib/Target/Hexagon/HexagonISelLowering.cpp
parent0a715429b9833f956e022099d5da64ff719df5ff (diff)
downloadbcm5719-llvm-c8b36f160c085d527c3bd0569b54f315a7072828.tar.gz
bcm5719-llvm-c8b36f160c085d527c3bd0569b54f315a7072828.zip
First iteration of a Python tracer module
This module uses Python's sys.settrace() mechanism so setup a hook that can log every significant operation This is a first step in providing a good debugging experience of Python embedded in LLDB This module comprises an OO infrastructure that wraps Python's tracing and inspecting mechanisms, plus a very simple logging tracer Output from this tracer looks like: call print_keyword_args from <module> @ 243 args are kwargs are {'first_name': 'John', 'last_name': 'Doe'} running print_keyword_args @ 228 locals are {'kwargs': {'first_name': 'John', 'last_name': 'Doe'}} running print_keyword_args @ 229 locals are {'key': 'first_name', 'value': 'John', 'kwargs': {'first_name': 'John', 'last_name': 'Doe'}} first_name = John running print_keyword_args @ 228 locals are {'key': 'first_name', 'value': 'John', 'kwargs': {'first_name': 'John', 'last_name': 'Doe'}} running print_keyword_args @ 229 locals are {'key': 'last_name', 'value': 'Doe', 'kwargs': {'first_name': 'John', 'last_name': 'Doe'}} last_name = Doe running print_keyword_args @ 228 locals are {'key': 'last_name', 'value': 'Doe', 'kwargs': {'first_name': 'John', 'last_name': 'Doe'}} return from print_keyword_args value is None locals are {'key': 'last_name', 'value': 'Doe', 'kwargs': {'first_name': 'John', 'last_name': 'Doe'}} llvm-svn: 181343
Diffstat (limited to 'llvm/lib/Target/Hexagon/HexagonISelLowering.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud