[lldb][trace] Add a basic function call dumpdump [1] - Add the command scaffolding
authorWalter Erquinigo <wallace@fb.com>
Sat, 8 Oct 2022 21:06:44 +0000 (14:06 -0700)
committerWalter Erquinigo <wallace@fb.com>
Tue, 18 Oct 2022 20:57:52 +0000 (13:57 -0700)
commit566146c03b054db2530f6b5997dfd0cd1a243657
treed1ef52a0b90752d9d1f902118b1d24f215b09c04
parentb2a294bcf8e6fd83efe72d6d7432affd65b2309e
[lldb][trace] Add a basic function call dumpdump [1] - Add the command scaffolding

The command is thread trace dump function-calls and as minimum will
require printing to a file in json and non-json format

I added a test

Differential Revision: https://reviews.llvm.org/D135521
lldb/source/Commands/CommandObjectThread.cpp
lldb/source/Commands/Options.td
lldb/test/API/commands/trace/TestTraceDumpFunctionCalls.py [new file with mode: 0644]