[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] 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.
[lldb] Disable TestSimulatorPlatform.py because it's causing a SIGHUPEver since Dave Zarzycki's patch to sort test start times based on priortest timing data (https://reviews.llvm.org/D98179) the
[lldb] Disable TestSimulatorPlatform.py because it's causing a SIGHUPEver since Dave Zarzycki's patch to sort test start times based on priortest timing data (https://reviews.llvm.org/D98179) the test suite abortswith a SIGHUP. I don't believe his patch is to blame, but ratheruncovers an preexisting issue by making test runs more deterministic.I was able to narrow down the issue to TestSimulatorPlatform.py. Theissue also manifests itself on the standalone bot on GreenDragon [1].This patch disables the test until we can figure this out.[1] http://green.lab.llvm.org/green/view/LLDB/job/lldb-cmake-standalone/rdar://76995109
[lldb] Use the compiler from the SDK in simulator testsUse the clang compiler from the SDK to build the simulator test programsto ensure we pick up the correct libc++.
[lldb] Use assertIn/NotIn over assertTrue/False (NFC)For improved failure messages, use `assertIn` over `assertTrue`.Differential Revision: https://reviews.llvm.org/D96095
[lldb] Fix build error in TestSimulatorPlatform.pyBefore e5d08fcbac72 the Makefile would always compute the min-version,even if it wasn't set in the triple. This nuance got lost when passingthe A
[lldb] Fix build error in TestSimulatorPlatform.pyBefore e5d08fcbac72 the Makefile would always compute the min-version,even if it wasn't set in the triple. This nuance got lost when passingthe ARCH_CFLAGS directly from TestSimulatorPlatform.
[lldb] Update TestSimulatorPlatform.py to set ARCH_CFLAGS instead of TRIPLEI move the triple (de)composition logic into the builder in e5d08fcbac72but this test is relying on Make to construct the
[lldb] Update TestSimulatorPlatform.py to set ARCH_CFLAGS instead of TRIPLEI move the triple (de)composition logic into the builder in e5d08fcbac72but this test is relying on Make to construct the set the ARCH,ARCH_CFLAGS and SDKROOT based on the given TRIPLE. This patch updatesthe test to pass these variables directly.Differential revision: https://reviews.llvm.org/D86244
[lldb] Print the load command that wasn't found in TestSimulatorPlatformPrint which load command we were looking for when the sanity checkfails: AssertionError: 0 != 1 : wrong number of load co
[lldb] Print the load command that wasn't found in TestSimulatorPlatformPrint which load command we were looking for when the sanity checkfails: AssertionError: 0 != 1 : wrong number of load commands for LC_VERSION_MIN_MACOSX
[lldb] Skip the Apple Simulator tests with reproducers
[lldb] Skip TestSimulatorPlatform with sanitized buildsThe test executable crashes when ran on a simulator. Skipping until this isfixed.rdar://67238668
[lldb] Skip TestSimulatorPlatform with out-of-tree debugserver
Correctly detect legacy iOS simulator Mach-O objectfilesThe code in ObjectFileMachO didn't disambiguate between ios andios-simulator object files for Mach-O objects using the legacyambiguous LC_V
Correctly detect legacy iOS simulator Mach-O objectfilesThe code in ObjectFileMachO didn't disambiguate between ios andios-simulator object files for Mach-O objects using the legacyambiguous LC_VERSION_MIN load commands. This used to not matter beforetaught ArchSpec that ios and ios-simulator are no longer compatible.rdar://problem/66545307Differential Revision: https://reviews.llvm.org/D85358
Fix debugserver's qProcessInfo reporting of maccatalyst binariesThis patch is similar in spirit to https://reviews.llvm.org/D84480,but does the maccatalyst/macosx disambiguation. I also took theo
Fix debugserver's qProcessInfo reporting of maccatalyst binariesThis patch is similar in spirit to https://reviews.llvm.org/D84480,but does the maccatalyst/macosx disambiguation. I also took theopportunity to factor out the gdb-remote packet log scanning used byseveral testcases into lldbutil functions.rdar://problem/66059257Differential Revision: https://reviews.llvm.org/D84576
debugserver: Support ios simulator load command disambiguation in qProcessInfoThis patch basically moves the disambiguation code from a place whereit was complicated to implement straight to where
debugserver: Support ios simulator load command disambiguation in qProcessInfoThis patch basically moves the disambiguation code from a place whereit was complicated to implement straight to where the load command isparsed, which has the neat side affect of actually supporting all callsites!rdar://problem/66011909Differential Revision: https://reviews.llvm.org/D84480
Fix debugserver reporting of deployment targetThis patch fixes debugserver incorrectly returning the SDK versioninstead of the minimum deployment target version.rdar://problem/65001691Differen
Fix debugserver reporting of deployment targetThis patch fixes debugserver incorrectly returning the SDK versioninstead of the minimum deployment target version.rdar://problem/65001691Differential Revision: https://reviews.llvm.org/D83443
Revert "Revert "Improve the detection of iOS/tvOS/watchOS simulator binaries in""This reverts commit 98c3a38a1967ece4e70891aa188c51e29ca0f8d3.
Revert "Improve the detection of iOS/tvOS/watchOS simulator binaries in"This reverts commit 0da0437b2afbd8ebef6b11f114cca33b118e7639 to unbreakthe following tests:lldb-api.tools/lldb-server.Test
Revert "Improve the detection of iOS/tvOS/watchOS simulator binaries in"This reverts commit 0da0437b2afbd8ebef6b11f114cca33b118e7639 to unbreakthe following tests:lldb-api.tools/lldb-server.TestAppleSimulatorOSType.pylldb-api.tools/lldb-server.TestGdbRemoteAttach.pylldb-api.tools/lldb-server.TestGdbRemoteProcessInfo.pylldb-api.tools/lldb-server.TestGdbRemoteRegisterState.pylldb-api.tools/lldb-server.TestGdbRemoteThreadsInStopReply.pylldb-api.tools/lldb-server.TestLldbGdbServer.py
Improve the detection of iOS/tvOS/watchOS simulator binaries indebugserver and lldbThis patch improves the heuristics for correctly identifying simulator binaries on Darwin and adds support for si
Improve the detection of iOS/tvOS/watchOS simulator binaries indebugserver and lldbThis patch improves the heuristics for correctly identifying simulator binaries on Darwin and adds support for simulators running on Apple Silicon.rdar://problem/64046344Differential Revision: https://reviews.llvm.org/D82616
[lldb/Test] Temporarily disable TestSimulatorPlatform.py
[lldb/Test] Temporarily skip watch simulator in TestSimulatorPlatform.pyThe simulator doesn't launch on green-dragon-10.rdar://problem/64552748
Repair support for launching ios/tv/watch simulator binaries through platformand delete a bunch (but not all) redundant code. If you compare the remaining implementations of Platform*Simulator.cpp,
Repair support for launching ios/tv/watch simulator binaries through platformand delete a bunch (but not all) redundant code. If you compare the remaining implementations of Platform*Simulator.cpp, there is still an obvious leftover cleanup task.Specifically, this patch- removes SDK initialization from dotest (there is equivalent but more complete code in Makefile.rules)- make Platform*Simulator inherit the generic implementation of PlatformAppleSimulator (more can be done here)- simplify the platform logic in Makefile.rules- replace the custom SDK finding logic in Platform*Simulator with XcodeSDK- adds a test for each supported simulatorDifferential Revision: https://reviews.llvm.org/D81980