Author: Jonas Devlieghere Date: 2022-05-19T21:40:20-07:00 New Revision: b9a30b69d814971de5bd90a134b17b5954a8a2b4
URL: https://github.com/llvm/llvm-project/commit/b9a30b69d814971de5bd90a134b17b5954a8a2b4 DIFF: https://github.com/llvm/llvm-project/commit/b9a30b69d814971de5bd90a134b17b5954a8a2b4.diff LOG: [lldb] Update test_software_breakpoint_set_and_remove_work for AS On Apple Silicon the platform arch is arm64 rather than AArch64. Added: Modified: lldb/test/API/tools/lldb-server/TestLldbGdbServer.py Removed: ################################################################################ diff --git a/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py b/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py index c6ff42a9a522f..8b3c8f0d914ba 100644 --- a/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py +++ b/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py @@ -812,7 +812,7 @@ def breakpoint_set_and_remove_work(self, want_hardware): target_arch = self.getArchitecture() # Set the breakpoint. - if (target_arch == "arm") or (target_arch == "aarch64"): + if target_arch in ["arm", "arm64", "aarch64"]: # TODO: Handle case when setting breakpoint in thumb code BREAKPOINT_KIND = 4 else: _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits