[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 ...
Revert "[lldb/test] Make some tests as XFAIL while I investigate the issue"This reverts commit 80589f272c200798b57a5151680a993bc2cc00a7.
[lldb/test] Make some tests as XFAIL while I investigate the issueThis is very likely to be caused by d71d1a947bee1247e952f22c13ad3ed3d041e36a.Signed-off-by: Med Ismail Bennani <medismail.bennani
[lldb/test] Make some tests as XFAIL while I investigate the issueThis is very likely to be caused by d71d1a947bee1247e952f22c13ad3ed3d041e36a.Signed-off-by: Med Ismail Bennani <[email protected]>
[LLDB] Skip TestClangREPL.py on Arm/AArch64 LinuxTestClangREPL.py has been failing randomly on Arm/AArch64 Linuxbuildbot. I am marking it as skipped to reduce false alarms.
[lldb] Add a C language REPL to test LLDB's REPL infrastructureLLDB has a bunch of code that implements REPL support, but all that code isunreachable as no language in master currently has an impl
[lldb] Add a C language REPL to test LLDB's REPL infrastructureLLDB has a bunch of code that implements REPL support, but all that code isunreachable as no language in master currently has an implemented REPL backend.The only REPL that exists is in the downstream Swift fork. All patches for thisgeneric REPL code therefore also only have tests downstream which is clearly nota good situation.This patch implements a basic C language REPL on top of LLDB's REPL framework.Beside implementing the REPL interface and hooking it up into the pluginmanager, the only other small part of this patch is making the `--language` flagof the expression command compatible with the `--repl` flag. The `--repl` flaguses the value of `--language` to see which REPL should be started, but rightnow the `--language` flag is only available in OptionGroups 1 and 2, but not inOptionGroup 3 where the `--repl` flag is declared.The REPL currently can currently only start if a running target exists. I'll addthe 'create and run a dummy executable' logic from Swift (which is requires whendoing `lldb --repl`) when I have time to translate all this logic to somethingthat will work with Clang.I should point out that the REPL currently uses the C expression parser'sapproach to persistent variables where only result variables and the onesstarting with a '$' are transferred between expressions. I'll fix that in afollow up patch. Also the REPL currently doesn't work in a non-interactiveterminal. This seems to be fixed in the Swift fork, so I assume one of our manyREPL downstream changes addresses the issue.Reviewed By: JDevlieghereDifferential Revision: https://reviews.llvm.org/D87281