[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] Skip ObjC-based tests via 'objc' categoryReplace the plethora of ObjC-implied 'skipUnlessDarwin' decoratorswith marking tests as 'objc' category (whenever missing), and skip allObjC
[lldb] [test] Skip ObjC-based tests via 'objc' categoryReplace the plethora of ObjC-implied 'skipUnlessDarwin' decoratorswith marking tests as 'objc' category (whenever missing), and skip allObjC tests on non-Darwin platforms. I have used '.categories' filewherever it was present already or all (>1) tests were relying on ObjC,and explicit add_test_categories() where there was only one test.Differential Revision: https://reviews.llvm.org/D91056
[lldb] Don't print IRForTarget errors directly to the consoleSummary:When we get an error back from IRForTarget we directly print that error to thedebugger output stream instead of putting it in
[lldb] Don't print IRForTarget errors directly to the consoleSummary:When we get an error back from IRForTarget we directly print that error to thedebugger output stream instead of putting it in the result object. The resultobject only gets a vague "The expression could not be prepared to run in thetarget" error message that doesn't actually tell the user what went wrong.This patch just puts the IRForTarget errors into the status object that isreturned to the caller instead of directly printing it to the debugger. Alsoupdates one test that now can actually check for the error message it issupposed to check for (instead of the default error which is all we had before).Reviewers: JDevlieghereReviewed By: JDevlieghereDifferential Revision: https://reviews.llvm.org/D81654
[lldb] Add test for importing ObjC modules in a non-ObjC targetThis was previously crashing due to a missing nullptr check (seee2d8aa6bf774ef29e134c40f886c55557bb5f970 ). This just adds a test tha
[lldb] Add test for importing ObjC modules in a non-ObjC targetThis was previously crashing due to a missing nullptr check (seee2d8aa6bf774ef29e134c40f886c55557bb5f970 ). This just adds a test that shouldmake sure this doesn't crash in case a user ends up in this strange setup.