IDEA-296416 Support loading Windows ARM64 native helpers where needed

GitOrigin-RevId: ca4fdf04f4015435d4fa07116a7db23117691fe2
This commit is contained in:
Vladislav Rassokhin
2022-09-05 22:46:23 +02:00
committed by intellij-monorepo-bot
parent 90a833f4ee
commit 279d82e895
5 changed files with 6 additions and 3 deletions

View File

@@ -28,6 +28,7 @@ public final class AppMainV2 {
String arch = System.getProperty("os.arch").toLowerCase(Locale.ENGLISH);
//noinspection SpellCheckingInspection
String libName = "x86_64".equals(arch) || "amd64".equals(arch) ? "breakgen64.dll" :
"aarch64".equals(arch) || "arm64".equals(arch) ? "breakgen64a.dll" :
"i386".equals(arch) || "x86".equals(arch) ? "breakgen.dll" :
null; // see also: `ProcessProxyImpl#canSendBreak`
if (libName != null) {