summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lang/cpp/scope/main.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-02-06 04:33:14 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2019-02-06 04:33:14 +0000
commitedff5f4b2180f28b94bf8e1f33cd60c54a58425e (patch)
treed0a03f218c06d0d42afc27baa1c1eb7539dd94b2 /lldb/packages/Python/lldbsuite/test/lang/cpp/scope/main.cpp
parent716abbeb43824edfde37505f98303d148cbb7a01 (diff)
downloadbcm5719-llvm-edff5f4b2180f28b94bf8e1f33cd60c54a58425e.tar.gz
bcm5719-llvm-edff5f4b2180f28b94bf8e1f33cd60c54a58425e.zip
[Reproducers] lldb-instr: tool to generate instrumentation macros.
This patch introduces a new tool called 'lldb-instr'. It automates the workflow of inserting LLDB_RECORD and LLDB_REGSITER macros for instrumentation. Because the tool won't be part of the build process, I didn't want to over-complicate it. SB_RECORD macros are inserted in place, while SB_REGISTER macros are printed to stdout, and have to be manually copied into the Registry's constructor. Additionally, the utility makes no attempt to properly format the inserted macros. Please use clang-format to format the changes after running the tool. Differential revision: https://reviews.llvm.org/D56822 llvm-svn: 353271
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/scope/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud