summaryrefslogtreecommitdiffstats
path: root/lldb/lit/tools/lldb-instr
Commit message (Collapse)AuthorAgeFilesLines
* [LLDB] Remove lldb-miJonas Devlieghere2019-07-185-91/+0
| | | | | | | | | | | | | | As discussed on the mailing list [1], this patch removes the lldb-mi tool and its tests from the LLDB repository. We moved lldb-mi into a separate repository on GitHub [2] for downstream users or maintainers to build and package. [1] http://lists.llvm.org/pipermail/lldb-dev/2019-July/015103.html [2] https://github.com/lldb-tools/lldb-mi Differential revision: https://reviews.llvm.org/D64255 llvm-svn: 366465
* Make lldb-mi optional and change how we deal with missing tools in litJonas Devlieghere2019-05-031-3/+1
| | | | | | | | | We don't need the variables in lit, we can use the capabilities to check if the utility exists. Differential revision: https://reviews.llvm.org/D61533 llvm-svn: 359926
* [tools] Make vscode and lldb-instr optional.Davide Italiano2019-04-161-0/+4
| | | | | | | | | | | | | | | | Summary: Saves some build times, and they're not part of the usual developer workflow. Reviewers: JDevlieghere, friss Subscribers: mgorny, lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D60780 llvm-svn: 358528
* [Reproducers] Capture return values of functions returning by ptr/refJonas Devlieghere2019-04-034-0/+15
| | | | | | | | | | | | | | | For some reason I had convinced myself that functions returning by pointer or reference do not require recording their result. However, after further considering I don't see how that could work, at least not with the current implementation. Interestingly enough, the reproducer instrumentation already (mostly) accounts for this, though the lldb-instr tool did not. This patch adds the missing macros and updates the lldb-instr tool. Differential revision: https://reviews.llvm.org/D60178 llvm-svn: 357639
* [lldb-instr] Support LLDB_RECORD_DUMMYJonas Devlieghere2019-03-084-0/+5
| | | | | | | Extend lldb-instr to insert LLDB_RECORD_DUMMY macros for currently unsupported signatures (void and function pointers). llvm-svn: 355710
* [lldb-instr] Group RECORD macrosJonas Devlieghere2019-02-201-0/+2
| | | | | | Group LLDB_RECORD macros per input file. llvm-svn: 354423
* [lldb-instr] Don't print REGISTER macro when RECORD is already presentJonas Devlieghere2019-02-191-0/+1
| | | | | | | | | | | Currently we'd always print the LLDB_REGISTER macro, even if the LLDB_RECORD macro was already present. This patches changes that to make it easier to incrementally update the macros. Note that it's still possible for the RECORD and REGISTER macros to get out of sync. llvm-svn: 354400
* [lldb-instr] Test that we ignore existing macros.Jonas Devlieghere2019-02-193-1/+13
| | | | | | Although the functionality was already present, it wasn't tested. llvm-svn: 354303
* [lldb-instr] Wrap returns of struct/classes in LLDB_RECORD_RESULTJonas Devlieghere2019-02-194-1/+8
| | | | | | | The instrumentation framework requires return values of custom classes and structs to be wrapped in the LLDB_RECORD_RESULT macro. llvm-svn: 354301
* [lldb-instr] Add constructor and move test into lit/toolsJonas Devlieghere2019-02-184-0/+47
The test had an implicit constructor for the Foo struct. Also, as the instrumentation doesn't have to be reproducer specific, I moved the tests into the lit/tools directory. llvm-svn: 354294
OpenPOWER on IntegriCloud