[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/tests] Removed add_test_categories decorator for python API tests, NFCThere is a .categories file in the python_api directory that makes all nested testsbelong to the category "pyapi". The d
[lldb/tests] Removed add_test_categories decorator for python API tests, NFCThere is a .categories file in the python_api directory that makes all nested testsbelong to the category "pyapi". The decorator is unnecessary for these tests.
[lldb/Test] Skip tests that try to get the remote environmentWe don't support getting the remote environment. The gdb remote protocolhas no packet for that.
Recommit "[lldb/API] Overwrite variables with SBLaunchInfo::SetEnvironment(append=true)"The patch was reverted 27d52cd86a2c because of failures inTestWeakSymbols.py. These have now been addressed
Recommit "[lldb/API] Overwrite variables with SBLaunchInfo::SetEnvironment(append=true)"The patch was reverted 27d52cd86a2c because of failures inTestWeakSymbols.py. These have now been addressed in D83552.The original commit message was:This function was documented to overwrite entries with D76111, which wasadding a couple of similar functions. However, this function (unlike thefunctions added in that patch) was/is not actually overwriting variables-- any pre-existing variables would get ignored.This behavior does not seem to be intentional. In fact, before the refactor inD41359, this function could introduce duplicate entries, which couldhave very surprising effects both inside lldb and on other applications(some applications would take the first value, some the second one; inlldb, attempting to unset a variable could make the second variablebecome active, etc.).Overwriting seems to be the most reasonable behavior here, so change thecode to match documentation.Differential Revision: https://reviews.llvm.org/D83306
Revert "[lldb/API] Overwrite variables with SBLaunchInfo::SetEnvironment(append=true)"This reverts commit 695b33a56919af8873eecb47cb83fa17a271e99f beacuseit broke the macOS bot.
[lldb/API] Overwrite variables with SBLaunchInfo::SetEnvironment(append=true)Summary:This function was documented to overwrite entries with D76111, which wasadding a couple of similar functions.
[lldb/API] Overwrite variables with SBLaunchInfo::SetEnvironment(append=true)Summary:This function was documented to overwrite entries with D76111, which wasadding a couple of similar functions. However, this function (unlike thefunctions added in that patch) was/is not actually overwriting variables-- any pre-existing variables would get ignored.This behavior does not seem to be intentional. In fact, before the refactor inD41359, this function could introduce duplicate entries, which couldhave very surprising effects both inside lldb and on other applications(some applications would take the first value, some the second one; inlldb, attempting to unset a variable could make the second variablebecome active, etc.).Overwriting seems to be the most reasonable behavior here, so change thecode to match documentation.Reviewers: clayborg, wallace, jinghamSubscribers: lldb-commitsTags: #lldbDifferential Revision: https://reviews.llvm.org/D83306
Create basic SBEnvironment class
Revert "Create basic SBEnvironment class"This reverts commit fd868f517d2c5ca8c0f160dbec0857b14ecf74c1.
Revert "Create basic SBEnvironment class"This reverts commit 34c0759f846447454714c8faa0e1753a8713637b.
Create basic SBEnvironment classSummary: Inspired by https://reviews.llvm.org/D74636, I'm introducing a basic version of Environment in the API. More functionalities can be added as needed.Review
Create basic SBEnvironment classSummary: Inspired by https://reviews.llvm.org/D74636, I'm introducing a basic version of Environment in the API. More functionalities can be added as needed.Reviewers: labath, clayborgSubscribers: mgorny, lldb-commits, diazhector98Tags: #lldbDifferential Revision: https://reviews.llvm.org/D76111
Temporarily Revert "Create basic SBEnvironment class"while investigating bot breakage.This reverts commit 2dec82652e4b6424e46e7bd674cb6404e01e218e.