[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] [test] Update test status for NetBSD
[lldb] Fix type conversion in the Scalar gettersSummary:The Scalar class claims to follow the C type conversion rules. This istrue for the Promote function, but it is not true for the implicitco
[lldb] Fix type conversion in the Scalar gettersSummary:The Scalar class claims to follow the C type conversion rules. This istrue for the Promote function, but it is not true for the implicitconversions done in the getter methods.These functions had a subtle bug: when extending the type, they used thesignedness of the *target* type in order to determine whether to dosign-extension or zero-extension. This is not how things work in C,which uses the signedness of the *source* type. I.e., C does(sign-)extension before it does signed->unsigned conversion, and not theother way around.This means that: (unsigned long)(int)-1 is equal to (unsigned long)0xffffffffffffffff and not (unsigned long)0x00000000ffffffffUnsurprisingly, we have accumulated code which depended on thisinconsistent behavior. It mainly manifested itself as code calling"ULongLong/SLongLong" as a way to get the value of the Scalar object ina primitive type that is "large enough". Previously, the ULongLongconversion did not do sign-extension, but now it does.This patch makes the Scalar getters consistent with the declaredsemantics, and fixes the couple of call sites that were using itincorrectly.Reviewers: teemperor, JDevlieghereSubscribers: lldb-commitsTags: #lldbDifferential Revision: https://reviews.llvm.org/D82772
Remove XFAIL arm-linux decorator from passing tests
[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