| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[lldb][test] Remove symlink for API tests. Summary: Moves lldbsuite tests to lldb/test/API. This is a largely mechanical change, moved with the following steps: rm lldb/test/API/testcases mkdir -p lldb/test/API/{test_runner/test,tools/lldb-{server,vscode}} mv lldb/packages/Python/lldbsuite/test/test_runner/test lldb/test/API/test_runner for d in $(find lldb/packages/Python/lldbsuite/test/* -maxdepth 0 -type d | egrep -v "make|plugins|test_runner|tools"); do mv $d lldb/test/API; done for d in $(find lldb/packages/Python/lldbsuite/test/tools/lldb-vscode -maxdepth 1 -mindepth 1 | grep -v ".py"); do mv $d lldb/test/API/tools/lldb-vscode; done for d in $(find lldb/packages/Python/lldbsuite/test/tools/lldb-server -maxdepth 1 -mindepth 1 | egrep -v "gdbremote_testcase.py|lldbgdbserverutils.py|socket_packet_pump.py"); do mv $d lldb/test/API/tools/lldb-server; done lldb/packages/Python/lldbsuite/__init__.py and lldb/test/API/lit.cfg.py were also updated with the new directory structure. Reviewers: labath, JDevlieghere Tags: #lldb Differential Revision: https://reviews.llvm.org/D71151 | 6 年前 | |
[lldb][tests] Automatically call compute_mydir (NFC) Eliminate boilerplate of having each test manually assign to mydir by calling compute_mydir in lldbtest.py. Differential Revision: https://reviews.llvm.org/D128077 | 3 年前 | |
[lldb] Update field offset/sizes when encountering artificial members such as vtable pointers DWARFASTParserClang::ParseSingleMember turns DWARF DIEs that describe struct/class members into their respective Clang representation (e.g., clang::FieldDecl). It also updates a record of where the last field started/ended so that we can speculatively fill any holes between a field and a bitfield with unnamed bitfield padding. Right now we are completely ignoring 'artificial' members when parsing the DWARF of a struct/class. The only artificial member that seems to be emitted in practice for C/C++ seems to be the vtable pointer. By completely skipping both the Clang AST node creation and the updating of the last-field record, we essentially leave a hole in our layout with the size of our artificial member. If the next member is a bitfield we then speculatively fill the hole with an unnamed bitfield. During CodeGen Clang inserts an artificial vtable pointer into the layout again which now occupies the same offset as the unnamed bitfield. This later brings down Clang's CGRecordLowering::insertPadding when it checks that none of the fields of the generated record layout overlap. Note that this is not a Clang bug. We explicitly set the offset of our fields in LLDB and overwrite whatever Clang makes up. Reviewed By: labath Differential Revision: https://reviews.llvm.org/D112697 | 4 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 6 年前 | ||
| 3 年前 | ||
| 4 年前 |