Home
last modified time | relevance | path

Searched refs:platform (Results 1 – 25 of 567) sorted by relevance

12345678910>>...23

/llvm-project/llvm/utils/gn/
H A Dget.py27 import platform
29 if sys.platform == "darwin":
30 return "mac-amd64" if platform.machine() != "arm64" else "mac-arm64"
31 if platform.machine() not in ("AMD64", "x86_64"):
33 if sys.platform.startswith("linux"):
35 if sys.platform == "win32":
40 platform = get_platform()
41 if not platform:
42 print("no prebuilt binary for", sys.platform)
49 dirname = os.path.join(os.path.dirname(__file__), "bin", platform)
[all …]
H A Dgn.py19 import platform
21 if sys.platform == "darwin":
22 return "mac-amd64" if platform.machine() != "arm64" else "mac-arm64"
23 if platform.machine() not in ("AMD64", "x86_64"):
25 if sys.platform.startswith("linux"):
27 if sys.platform == "win32":
53 platform = get_platform()
54 if not platform:
56 gn = os.path.join(os.path.dirname(__file__), "bin", platform, "gn")
57 if not os.path.exists(gn + (".exe" if sys.platform
[all...]
/llvm-project/lldb/docs/use/
H A Dremote.rst15 LLDB also consists of a platform binary, which is responsible for performing
23 debugging this whole process is transparent to the user. The platform binary is
39 lldb-server binary. This binary combines the functionality of the platform and
55 platform mode and specify the port it should listen on. For example, the
60 remote% lldb-server platform --listen "*:1234" --server
62 will start the LLDB platform and wait for incoming connections from any address
72 debugging. This is achieved through the platform command and its sub-commands.
73 As a first step you need to choose the correct platform plug-in for your remote
74 system. A list of available plug-ins can be obtained through platform list.
79 (lldb) platform list
[all …]
/llvm-project/compiler-rt/cmake/
H A Dconfig-ix.cmake233 # platform. We use the results of these tests to build only the various target
239 # Detect whether the current target platform is 32-bit or 64-bit, and setup
315 # specific apple platform and architecture.
316 function(get_test_cflags_for_apple_platform platform arch cflags_out)
317 is_valid_apple_platform("${platform}" is_valid_platform)
319 message(FATAL_ERROR "\"${platform}\" is not a valid apple platform")
325 list(APPEND test_cflags ${DARWIN_${platform}_CFLAGS})
333 foreach (flag ${DARWIN_${platform}_CFLAGS})
334 if ("${flag}" MATCHES "^${DARWIN_${platform}_MIN_VER_FLA
[all...]
H A Dbuiltin-config-ix.cmake202 foreach(platform ${DARWIN_EMBEDDED_PLATFORMS})
203 if(DARWIN_${platform}sim_SYSROOT)
204 set(DARWIN_${platform}sim_BUILTIN_MIN_VER
205 ${DARWIN_${platform}_BUILTIN_MIN_VER})
206 set(DARWIN_${platform}sim_BUILTIN_MIN_VER_FLAG
207 ${DARWIN_${platform}_BUILTIN_MIN_VER_FLAG})
209 set(DARWIN_${platform}sim_SKIP_CC_KEXT On)
211 darwin_test_archs(${platform}sim
212 DARWIN_${platform}sim_BUILTIN_ARCHS
213 ${DARWIN_${platform}sim_BUILTIN_ALL_POSSIBLE_ARCH
[all...]
/llvm-project/compiler-rt/test/asan_abi/
H A DCMakeLists.txt41 foreach(platform ${ASAN_ABI_TEST_APPLE_PLATFORMS})
42 if ("${platform}" STREQUAL "osx")
47 ASAN_ABI_TEST_${platform}_ARCHS
49 DARWIN_${platform}_ARCHS
51 foreach(arch ${ASAN_ABI_TEST_${platform}_ARCHS})
53 "${platform}"
58 get_capitalized_apple_platform("${platform}" PLATFORM_CAPITALIZED)
60 set(ASAN_ABI_TEST_CONFIG_SUFFIX "-${arch}-${platform}")
61 set(ASAN_ABI_TEST_APPLE_PLATFORM "${platform}")
63 set(ASAN_ABI_TEST_MIN_DEPLOYMENT_TARGET_FLAG "${DARWIN_${platform}_MIN_VER_FLAG}")
[all …]
/llvm-project/lldb/packages/Python/lldbsuite/test/
H A Dlldbplatformutil.py2 architecture and/or the platform dependent nature of the tests. """
98 # Provide uname-like platform name
124 # Use the triple to determine the platform if set.
127 platform = triple.split("-")[2]
128 if platform.startswith("freebsd"):
129 platform = "freebsd"
130 elif platform.startswith("netbsd"):
131 platform = "netbsd"
132 elif platform.startswith("openbsd"):
133 platform
[all...]
H A Ddotest.py27 import platform
52 if sys.platform == "win32":
213 platform_system = platform.system()
214 platform_machine = platform.machine()
409 if sys.platform.startswith("win32"):
604 if "freebsd" in sys.platform or "linux" in sys.platform:
755 if not sys.platform.startswith("darwin"):
772 platform = lldbplatformutil.getPlatform()
777 if platform
[all...]
/llvm-project/compiler-rt/test/fuzzer/
H A Dlit.cfg.py20 execute_external = not sys.platform in ["win32"]
30 sys.platform.startswith("darwin")
31 or sys.platform.startswith("freebsd")
32 or sys.platform.startswith("win")
40 sys.platform.startswith("darwin")
41 or sys.platform.startswith("win")
50 if sys.platform.startswith("win") or sys.platform.startswith("cygwin"):
53 if sys.platform.startswith("darwin"):
56 if sys.platform
[all...]
H A DCMakeLists.txt93 foreach(platform ${FUZZER_APPLE_PLATFORMS})
94 if ("${platform}" STREQUAL "osx")
99 FUZZER_TEST_${platform}_ARCHS
101 DARWIN_${platform}_ARCHS
103 foreach(arch ${FUZZER_TEST_${platform}_ARCHS})
105 "${platform}"
110 get_capitalized_apple_platform("${platform}" PLATFORM_CAPITALIZED)
112 set(LIBFUZZER_TEST_CONFIG_SUFFIX "-${arch}-${platform}")
113 set(LIBFUZZER_TEST_APPLE_PLATFORM "${platform}")
115 set(LIBFUZZER_TEST_MIN_DEPLOYMENT_TARGET_FLAG "${DARWIN_${platform}_MIN_VER_FLA
[all...]
/llvm-project/compiler-rt/test/ubsan/
H A DCMakeLists.txt69 macro(add_ubsan_device_testsuite test_mode sanitizer platform arch)
72 set(CONFIG_NAME ${UBSAN_LIT_TEST_MODE}-${platform}-${arch})
77 set(UBSAN_TEST_APPLE_PLATFORM "${platform}")
78 set(UBSAN_TEST_MIN_DEPLOYMENT_TARGET_FLAG "${DARWIN_${platform}_MIN_VER_FLAG}")
88 add_lit_testsuite(check-ubsan-${test_mode}-${platform}-${arch}
108 foreach(platform ${UBSAN_APPLE_PLATFORMS})
110 UBSAN_TEST_${platform}_ARCHS
112 DARWIN_${platform}_ARCHS
114 foreach(arch ${UBSAN_TEST_${platform}_ARCHS})
116 "${platform}"
[all...]
/llvm-project/compiler-rt/test/tsan/
H A DCMakeLists.txt79 foreach(platform ${TSAN_APPLE_PLATFORMS})
80 if ("${platform}" STREQUAL "osx")
85 TSAN_TEST_${platform}_ARCHS
87 DARWIN_${platform}_ARCHS
89 foreach(arch ${TSAN_TEST_${platform}_ARCHS})
91 "${platform}"
96 get_capitalized_apple_platform("${platform}" PLATFORM_CAPITALIZED)
98 set(TSAN_TEST_CONFIG_SUFFIX "-${arch}-${platform}")
99 set(TSAN_TEST_APPLE_PLATFORM "${platform}")
101 set(TSAN_TEST_MIN_DEPLOYMENT_TARGET_FLAG "${DARWIN_${platform}_MIN_VER_FLA
[all...]
/llvm-project/lldb/unittests/Platform/
H A DPlatformMacOSXTest.cpp33 PlatformMacOSX platform; in TEST_F() local
37 EXPECT_TRUE(containsArch(platform.GetSupportedArchitectures(x86_macosx_arch), in TEST_F()
40 containsArch(platform.GetSupportedArchitectures({}), x86_macosx_arch)); in TEST_F()
47 platform.GetSupportedArchitectures(arm64_macosx_arch), arm64_ios_arch)); in TEST_F()
49 containsArch(platform.GetSupportedArchitectures({}), arm64_ios_arch)); in TEST_F()
50 EXPECT_FALSE(containsArch(platform.GetSupportedArchitectures(arm64_ios_arch), in TEST_F()
/llvm-project/clang/test/Unit/
H A Dlit.cfg.py6 import platform
50 if platform.system() in ["Linux", "FreeBSD", "NetBSD", "OpenBSD", "SunOS"]:
52 elif platform.system() == "Darwin":
54 elif platform.system() == "Windows":
56 elif platform.system() == "AIX":
74 "unable to inject shared library path on '{}'".format(platform.system())
/llvm-project/libcxx/utils/ci/vendor/android/
H A Dcontainer-setup.sh15 # platform-tools from the main image.
16 if [ -d /mnt/android-platform-tools ]; then
17 sudo rm -fr /mnt/android-platform-tools/platform-tools
18 sudo cp -r /opt/android/sdk/platform-tools /mnt/android-platform-tools
H A Demulator-entrypoint.sh18 # Always use a copy of platform-tools provided by the host to ensure that the
20 if [ ! -x /mnt/android-platform-tools/platform-tools/adb ]; then
21 echo "error: This image requires platform-tools mounted at" \
22 "/mnt/android-platform-tools containing platform-tools/adb" >&2
25 sudo cp -r /mnt/android-platform-tools/platform-tools /opt/android/sdk
/llvm-project/lldb/unittests/Target/
H A DRemoteAwarePlatformTest.cpp48 void SetRemotePlatform(lldb::PlatformSP platform) { in SetRemotePlatform() argument
49 m_remote_platform_sp = platform; in SetRemotePlatform()
79 RemoteAwarePlatformTester platform(false); in TEST_F() local
81 EXPECT_CALL(platform, GetSupportedArchitectures(process_host_arch)) in TEST_F()
83 EXPECT_CALL(platform, ResolveExecutable(_, _)) in TEST_F()
86 platform.SetRemotePlatform(std::make_shared<TargetPlatformTester>(false)); in TEST_F()
90 platform.ResolveExecutable(executable_spec, resolved_sp, nullptr); in TEST_F()
/llvm-project/lldb/test/API/functionalities/gdb_remote_client/
H A DTestPlatformListProcesses.py31 platform = lldb.SBPlatform("remote-linux")
32 self.dbg.SetSelectedPlatform(platform)
34 error = platform.ConnectRemote(
38 self.assertTrue(platform.IsConnected())
40 processes = platform.GetAllProcesses(error)
54 platform.DisconnectRemote()
H A DTestPlatformAttach.py41 platform = lldb.SBPlatform("remote-linux")
42 self.dbg.SetSelectedPlatform(platform)
44 error = platform.ConnectRemote(
48 self.assertTrue(platform.IsConnected())
54 process = platform.Attach(attach_info, self.dbg, target, error)
58 platform.DisconnectRemote()
/llvm-project/lldb/test/API/python_api/sbplatform/
H A DTestLocateModuleCallback.py30 self.platform = self.dbg.GetSelectedPlatform()
92 self.platform.SetLocateModuleCallback(non_callable)
100 self.platform.SetLocateModuleCallback(test_args2)
116 self.assertTrue(self.platform.SetLocateModuleCallback(None).Success())
137 self.platform.SetLocateModuleCallback(test_locate_module).Success()
159 self.platform.SetLocateModuleCallback(test_locate_module).Success()
185 self.platform.SetLocateModuleCallback(test_locate_module).Success()
215 self.platform.SetLocateModuleCallback(test_locate_module).Success()
241 self.platform.SetLocateModuleCallback(test_locate_module).Success()
267 self.platform.SetLocateModuleCallback(test_locate_module).Success()
[all …]
/llvm-project/clang/test/SemaObjC/
H A Dsizeof-interface.m24 …or {{application of 'sizeof' to interface 'I0' is not supported on this architecture and platform}}
33 …or {{application of 'sizeof' to interface 'I0' is not supported on this architecture and platform}}
44 …); } I1_defs; // expected-error {{use of @defs is not supported on this architecture and platform}}
51 …tic on pointer to interface 'I0', which is not a constant size for this architecture and platform}}
52 …tic on pointer to interface 'I0', which is not a constant size for this architecture and platform}}
53 …tic on pointer to interface 'I0', which is not a constant size for this architecture and platform}}
64 …ror {{application of 'sizeof' to interface 'I' is not supported on this architecture and platform}}
85 …ic on pointer to interface 'Foo', which is not a constant size for this architecture and platform}}
86 …ic on pointer to interface 'Foo', which is not a constant size for this architecture and platform}}
/llvm-project/compiler-rt/test/asan/
H A DCMakeLists.txt96 foreach(platform ${ASAN_APPLE_PLATFORMS})
97 if ("${platform}" STREQUAL "osx")
102 ASAN_TEST_${platform}_ARCHS
104 DARWIN_${platform}_ARCHS
106 foreach(arch ${ASAN_TEST_${platform}_ARCHS})
108 "${platform}"
113 get_capitalized_apple_platform("${platform}" PLATFORM_CAPITALIZED)
115 set(ASAN_TEST_CONFIG_SUFFIX "-${arch}-${platform}")
116 set(ASAN_TEST_APPLE_PLATFORM "${platform}")
118 set(ASAN_TEST_MIN_DEPLOYMENT_TARGET_FLAG "${DARWIN_${platform}_MIN_VER_FLA
[all...]
/llvm-project/compiler-rt/test/builtins/Unit/
H A Dlit.cfg.py4 import platform
19 execute_external = not sys.platform in ["win32"]
44 if sys.platform in ["win32"] and execute_external:
61 if sys.platform in ["win32"] and execute_external:
90 if sys.platform in ["win32"] and execute_external:
104 if sys.platform in ["win32"] and execute_external:
117 if sys.platform in ["win32"] and execute_external:
130 ("%libc", "-lroot" if sys.platform.startswith("haiku") else "-lc")
142 if sys.platform in ["win32"] and execute_external:
/llvm-project/libc/docs/dev/
H A Dmechanics_of_public_api.rst
/llvm-project/lldb/tools/lldb-server/
H A Dlldb-platform.cpp1 //===-- lldb-platform.cpp ---------------------------------------*- C++ -*-===//
73 {"child-platform-fd", required_argument, nullptr, 2},
143 "The same platform and gdb ports %u.", platform_port); in main_platform()
214 GDBRemoteCommunicationServerPlatform platform(Socket::ProtocolTcp, in main_platform()
216 error = platform.LaunchGDBServer(args, child_pid, socket_name, in main_platform()
230 static void client_handle(GDBRemoteCommunicationServerPlatform &platform, in main_platform()
232 if (!platform.IsConnected()) in main_platform()
238 Status error = platform.LaunchGDBServer(args, pid, socket_name, in main_platform()
241 platform.SetPendingGdbServer(socket_name); in main_platform()
250 if (platform in main_platform()
285 GDBRemoteCommunicationServerPlatform platform( main_platform() local
[all...]

12345678910>>...23