[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://r
[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
show more ...
[lldb/Target] Refine source display warning for artificial locations (NFC)This is a post-review update for D115313, to rephrase source displaywarning messages for artificial locations, making them
[lldb/Target] Refine source display warning for artificial locations (NFC)This is a post-review update for D115313, to rephrase source displaywarning messages for artificial locations, making them moreunderstandable for the end-user.Differential Revision: https://reviews.llvm.org/D115461Signed-off-by: Med Ismail Bennani <[email protected]>
[lldb/Target] Slide source display for artificial locations at function startIt can happen that a line entry reports that some source code is locatedat line 0. In DWARF, line 0 is a special locati
[lldb/Target] Slide source display for artificial locations at function startIt can happen that a line entry reports that some source code is locatedat line 0. In DWARF, line 0 is a special location which indicates thatcode has no 1-1 mapping with source.When stopping in one of those artificial locations, lldb doesn't know whichline to display and shows the beginning of the file instead.This patch mitigates this behaviour by checking if the current symbol contextof the line entry has a matching function, in which case, it slides thesource listing to the start of that function.This patch also shows the user a warning explaining why lldb couldn'tshow sources at that location.rdar://83118425Differential Revision: https://reviews.llvm.org/D115313Signed-off-by: Med Ismail Bennani <[email protected]>
[lldb/test] Fix TestSourceManager for eee887e0I'm removing the extra trace commands as they're not compatible withwindows, and there's no immediate replacement available.
[lldb] Remove support for replaying the test suite from a reproducerThis patch removes the infrastructure to replay the test suite from areproducer, as well as the modifications made to the indivi
[lldb] Remove support for replaying the test suite from a reproducerThis patch removes the infrastructure to replay the test suite from areproducer, as well as the modifications made to the individual tests.
Add an option (-y) to "break set" and "source list" that uses the samefile:line:column form that we use to print out locations. Since weprint them this way it makes sense we also accept that form.
Add an option (-y) to "break set" and "source list" that uses the samefile:line:column form that we use to print out locations. Since weprint them this way it makes sense we also accept that form.Differential Revision: https://reviews.llvm.org/D83975
[lldb/Reproducers] Skip test that changes the source file while debuggingThe VFS is a snapshot and cannot capture changes to the file system.
[lldb][test] These tests don't fail on Windows anymore
[lldb] Color the line markerHighlight the color marker similar to what we do for the column marker.The default color matches the color of the current PC marker (->) in thedefault disassembly form
[lldb] Color the line markerHighlight the color marker similar to what we do for the column marker.The default color matches the color of the current PC marker (->) in thedefault disassembly format.Differential revision: https://reviews.llvm.org/D75070
[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/testcasesmkdi
[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/testcasesmkdir -p lldb/test/API/{test_runner/test,tools/lldb-{server,vscode}}mv lldb/packages/Python/lldbsuite/test/test_runner/test lldb/test/API/test_runnerfor 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; donefor 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; donefor 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, JDevlieghereTags: #lldbDifferential Revision: https://reviews.llvm.org/D71151