Home
last modified time | relevance | path

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

12345678910>>...22

/llvm-project-15.0.7/lldb/packages/Python/lldbsuite/test/
H A Dlldbplatformutil.py109 elif sys.platform.startswith('win32') or sys.platform.startswith('cygwin'):
118 return sys.platform
131 platform = platform[:dot]
133 platform = 'ios'
134 return platform
137 if platform is None:
138 platform = "host"
140 platform = "host"
141 if platform == "host":
144 return platform[7:]
[all …]
H A Ddotest.py30 import platform
56 if sys.platform == 'win32':
215 platform_system = platform.system()
216 platform_machine = platform.machine()
393 if sys.platform.startswith('win32'):
574 if "freebsd" in sys.platform or "linux" in sys.platform:
749 if platform == "linux":
775 platform = "android"
776 if platform == "linux":
794 if platform == "netbsd":
[all …]
H A Dtest_categories.py59 def is_supported_on_platform(category, platform, compiler_path): argument
62 return platform in ["linux", "freebsd"]
64 return platform in ["darwin", "macosx", "ios", "watchos", "tvos", "bridgeos"]
67 if platform not in ["darwin", "macosx", "ios", "watchos", "tvos", "bridgeos"]:
/llvm-project-15.0.7/llvm/utils/gn/
H A Dget.py27 import platform
28 if sys.platform == 'darwin':
30 if platform.machine() not in ('AMD64', 'x86_64'):
32 if sys.platform.startswith('linux'):
34 if sys.platform == 'win32':
39 platform = get_platform()
40 if not platform:
41 print('no prebuilt binary for', sys.platform)
48 dirname = os.path.join(os.path.dirname(__file__), 'bin', platform)
53 gn = 'gn' + ('.exe' if sys.platform == 'win32' else '')
[all …]
H A Dgn.py19 import platform
20 if sys.platform == 'darwin':
21 return 'mac-amd64' if platform.machine() != 'arm64' else 'mac-arm64'
22 if platform.machine() not in ('AMD64', 'x86_64'):
24 if sys.platform.startswith('linux'):
26 if sys.platform == 'win32':
46 platform = get_platform()
47 if not platform:
49 gn = os.path.join(os.path.dirname(__file__), 'bin', platform, 'gn')
50 if not os.path.exists(gn + ('.exe' if sys.platform == 'win32' else '')):
/llvm-project-15.0.7/lldb/docs/use/
H A Dremote.rst82 (lldb) platform list
84 host: Local macOS user platform plug-in.
100 The default platform is the platform host which is used for local debugging.
107 (lldb) platform select remote-linux
136 further using the platform shell command.
154 platform's current working directory only if the file has changed. The platform
161 Changing the platform working directory
164 You can change the platform working directory while connected to the platform
175 (lldb) platform status
188 the platform's current working directory, we can set the platform file
[all …]
/llvm-project-15.0.7/compiler-rt/cmake/
H A Dbuiltin-config-ix.cmake180 if(DARWIN_${platform}sim_SYSROOT)
182 ${DARWIN_${platform}_BUILTIN_MIN_VER})
188 darwin_test_archs(${platform}sim
189 DARWIN_${platform}sim_BUILTIN_ARCHS
192 …message(STATUS "${platform} Simulator supported builtin arches: ${DARWIN_${platform}sim_BUILTIN_AR…
193 if(DARWIN_${platform}sim_BUILTIN_ARCHS)
202 if(DARWIN_${platform}_SYSROOT)
203 darwin_test_archs(${platform}
204 DARWIN_${platform}_BUILTIN_ARCHS
207 message(STATUS "${platform} supported builtin arches: ${DARWIN_${platform}_BUILTIN_ARCHS}")
[all …]
H A Dconfig-ix.cmake278 message(FATAL_ERROR "\"${platform}\" is not a valid apple platform")
321 message(FATAL_ERROR "\"${platform}\" is not a valid apple platform")
330 if ("${platform}" STREQUAL "")
343 if ("${platform}" STREQUAL "osx")
359 message(WARNING "\"${platform}\" is not a handled apple platform")
503 DARWIN_${platform}sim_ARCHS
505 message(STATUS "${platform} Simulator supported arches: ${DARWIN_${platform}sim_ARCHS}")
522 if(DARWIN_${platform}_SYSROOT)
533 DARWIN_${platform}_ARCHS
535 message(STATUS "${platform} supported arches: ${DARWIN_${platform}_ARCHS}")
[all …]
/llvm-project-15.0.7/compiler-rt/test/fuzzer/
H A Dlit.cfg.py21 execute_external = (not sys.platform in ['win32'])
30 if (sys.platform.startswith('darwin') or
31 sys.platform.startswith('freebsd') or
32 sys.platform.startswith('win')):
39 if (sys.platform.startswith('darwin') or sys.platform.startswith('win') or
47 if sys.platform.startswith('win') or sys.platform.startswith('cygwin'):
50 if sys.platform.startswith('darwin'):
53 if sys.platform.startswith('linux'):
H A DCMakeLists.txt95 foreach(platform ${FUZZER_APPLE_PLATFORMS})
96 if ("${platform}" STREQUAL "osx")
101 FUZZER_TEST_${platform}_ARCHS
103 DARWIN_${platform}_ARCHS
105 foreach(arch ${FUZZER_TEST_${platform}_ARCHS})
107 "${platform}"
112 get_capitalized_apple_platform("${platform}" PLATFORM_CAPITALIZED)
114 set(LIBFUZZER_TEST_CONFIG_SUFFIX "-${arch}-${platform}")
115 set(LIBFUZZER_TEST_APPLE_PLATFORM "${platform}")
117 set(LIBFUZZER_TEST_MIN_DEPLOYMENT_TARGET_FLAG "${DARWIN_${platform}_MIN_VER_FLAG}")
[all …]
/llvm-project-15.0.7/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-15.0.7/compiler-rt/test/ubsan/
H A DCMakeLists.txt71 macro(add_ubsan_device_testsuite test_mode sanitizer platform arch)
74 set(CONFIG_NAME ${UBSAN_LIT_TEST_MODE}-${platform}-${arch})
79 set(UBSAN_TEST_APPLE_PLATFORM "${platform}")
92 add_lit_testsuite(check-ubsan-${test_mode}-${platform}-${arch}
113 foreach(platform ${UBSAN_APPLE_PLATFORMS})
115 UBSAN_TEST_${platform}_ARCHS
117 DARWIN_${platform}_ARCHS
119 foreach(arch ${UBSAN_TEST_${platform}_ARCHS})
121 "${platform}"
125 add_ubsan_device_testsuite("Standalone" ubsan ${platform} ${arch})
[all …]
/llvm-project-15.0.7/clang/test/Unit/
H A Dlit.cfg.py6 import platform
48 if platform.system() in ['Linux', 'FreeBSD', 'NetBSD', 'OpenBSD', 'SunOS']:
50 elif platform.system() == 'Darwin':
52 elif platform.system() == 'Windows':
54 elif platform.system() == 'AIX':
68 .format(platform.system()))
/llvm-project-15.0.7/compiler-rt/test/tsan/
H A DCMakeLists.txt81 foreach(platform ${TSAN_APPLE_PLATFORMS})
82 if ("${platform}" STREQUAL "osx")
87 TSAN_TEST_${platform}_ARCHS
89 DARWIN_${platform}_ARCHS
91 foreach(arch ${TSAN_TEST_${platform}_ARCHS})
93 "${platform}"
98 get_capitalized_apple_platform("${platform}" PLATFORM_CAPITALIZED)
100 set(TSAN_TEST_CONFIG_SUFFIX "-${arch}-${platform}")
101 set(TSAN_TEST_APPLE_PLATFORM "${platform}")
103 set(TSAN_TEST_MIN_DEPLOYMENT_TARGET_FLAG "${DARWIN_${platform}_MIN_VER_FLAG}")
[all …]
/llvm-project-15.0.7/lldb/unittests/Target/
H A DRemoteAwarePlatformTest.cpp47 void SetRemotePlatform(lldb::PlatformSP platform) { in SetRemotePlatform() argument
48 m_remote_platform_sp = platform; in SetRemotePlatform()
78 RemoteAwarePlatformTester platform(false); in TEST_F() local
80 EXPECT_CALL(platform, GetSupportedArchitectures(process_host_arch)) in TEST_F()
82 EXPECT_CALL(platform, ResolveRemoteExecutable(_, _)) in TEST_F()
85 platform.SetRemotePlatform(std::make_shared<TargetPlatformTester>(false)); in TEST_F()
89 platform.ResolveExecutable(executable_spec, resolved_sp, nullptr); in TEST_F()
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dsizeof-interface.m26 …or {{application of 'sizeof' to interface 'I0' is not supported on this architecture and platform}}
35 …or {{application of 'sizeof' to interface 'I0' is not supported on this architecture and platform}}
46 …); } I1_defs; // expected-error {{use of @defs is not supported on this architecture and platform}}
54 …tic on pointer to interface 'I0', which is not a constant size for this architecture and platform}}
55 …tic on pointer to interface 'I0', which is not a constant size for this architecture and platform}}
56 …tic on pointer to interface 'I0', which is not a constant size for this architecture and platform}}
67 …ror {{application of 'sizeof' to interface 'I' is not supported on this architecture and platform}}
88 …ic on pointer to interface 'Foo', which is not a constant size for this architecture and platform}}
89 …ic on pointer to interface 'Foo', which is not a constant size for this architecture and platform}}
/llvm-project-15.0.7/compiler-rt/test/asan/
H A DCMakeLists.txt92 foreach(platform ${ASAN_APPLE_PLATFORMS})
93 if ("${platform}" STREQUAL "osx")
98 ASAN_TEST_${platform}_ARCHS
100 DARWIN_${platform}_ARCHS
102 foreach(arch ${ASAN_TEST_${platform}_ARCHS})
104 "${platform}"
109 get_capitalized_apple_platform("${platform}" PLATFORM_CAPITALIZED)
111 set(ASAN_TEST_CONFIG_SUFFIX "-${arch}-${platform}")
112 set(ASAN_TEST_APPLE_PLATFORM "${platform}")
114 set(ASAN_TEST_MIN_DEPLOYMENT_TARGET_FLAG "${DARWIN_${platform}_MIN_VER_FLAG}")
[all …]
H A Dlit.cfg.py4 import platform
28 if platform.system() == 'Windows':
30 elif platform.system() == 'Darwin':
39 if platform.system() == 'FreeBSD':
45 if platform.system() == 'SunOS':
105 if platform.system() == 'Windows':
108 elif platform.system() == 'FreeBSD':
119 if platform.system() == 'Windows':
148 if platform.system() == 'Windows':
/llvm-project-15.0.7/clang-tools-extra/test/Unit/
H A Dlit.cfg.py3 import platform
22 if platform.system() == 'Darwin':
24 elif platform.system() == 'Windows':
34 if sys.platform in ['win32', 'cygwin'] and os.path.isdir(config.shlibdir):
/llvm-project-15.0.7/lld/test/MachO/
H A Dzippered.yaml18 # CHECK: test.dylib has platform macOS/macCatalyst, which is different from target platform iOS
25 # ZIPPERED-NEXT: platform 1
34 # ZIPPERED-NEXT: platform 6
50 # ZIPPERED-OLD-NEXT: platform 6
60 ## Reject .o files which only have the secondary platform.
62 # CAT: test_maccatalyst.o has platform macCatalyst, which is different from target platform macOS
98 platform: 1
107 platform: 6
/llvm-project-15.0.7/lldb/test/Shell/helper/
H A Dtoolchain.py3 import platform
31 dsname = 'debugserver' if platform.system() in ['Darwin'] else 'lldb-server'
32 dsargs = [] if platform.system() in ['Darwin'] else ['gdbserver']
120 if platform.system() in ['Darwin']:
130 elif sys.platform != 'win32':
133 if sys.platform.startswith('netbsd'):
155 if sys.platform == 'win32':
/llvm-project-15.0.7/clang/test/
H A Dlit.cfg.py4 import platform
141 if platform.system() not in ['FreeBSD']:
145 if platform.system() not in ['Windows']:
150 if platform.system() not in ['Windows']:
155 if platform.system() not in ['Darwin', 'Fuchsia']:
178 if os.path.exists('/dev/fd/0') and sys.platform not in ['cygwin']:
195 if platform.system() not in ['Windows']:
275 elif platform.system() == 'AIX':
/llvm-project-15.0.7/lldb/test/API/
H A Dlit.cfg.py6 import platform
44 if platform.system() in ['Linux', 'FreeBSD', 'NetBSD', 'SunOS']:
46 elif platform.system() == 'Darwin':
48 elif platform.system() == 'Windows':
116 if 'DYLD_INSERT_LIBRARIES' in config.environment and platform.system() == 'Darwin':
130 platform.system()))
174 if is_configured('has_libcxx') and platform.system() != 'Windows':
/llvm-project-15.0.7/lldb/test/API/commands/platform/basic/
H A DTestPlatformPython.py41 platform = self.dbg.GetPlatformAtIndex(platform_idx)
42 if platform.GetName() == platform_name:
86 platform = self.dbg.GetSelectedPlatform()
87 self.assertTrue(platform.IsValid())
95 err = platform.Run(sh_cmd)
/llvm-project-15.0.7/mlir/test/Integration/Dialect/LLVMIR/CPU/X86/
H A Dlit.local.cfg1 import platform
3 if platform.machine() != 'x86_64':
7 if sys.platform == 'win32':

12345678910>>...22