1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-09 09:15:38 +02:00

Bug 550076 - Use PE64 parser by default

Change-Id: I757c8ace43e79f1215ad0e817430e5ab90415401
This commit is contained in:
Jonah Graham 2019-09-03 10:27:38 -04:00
parent a1febf0097
commit 2cbf927a36
17 changed files with 49 additions and 44 deletions

View file

@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2 Bundle-ManifestVersion: 2
Bundle-Name: GCC support for CDT Build Core Bundle-Name: GCC support for CDT Build Core
Bundle-SymbolicName: org.eclipse.cdt.build.gcc.core;singleton:=true Bundle-SymbolicName: org.eclipse.cdt.build.gcc.core;singleton:=true
Bundle-Version: 1.0.1.qualifier Bundle-Version: 1.0.100.qualifier
Bundle-Activator: org.eclipse.cdt.build.gcc.core.internal.Activator Bundle-Activator: org.eclipse.cdt.build.gcc.core.internal.Activator
Bundle-Vendor: Eclipse CDT Bundle-Vendor: Eclipse CDT
Require-Bundle: org.eclipse.core.runtime, Require-Bundle: org.eclipse.core.runtime,

View file

@ -226,7 +226,7 @@ public class GCCToolChain extends PlatformObject implements IToolChain {
// TODO be smarter and use the id which should be the target // TODO be smarter and use the id which should be the target
switch (Platform.getOS()) { switch (Platform.getOS()) {
case Platform.OS_WIN32: case Platform.OS_WIN32:
return CCorePlugin.PLUGIN_ID + ".PE"; //$NON-NLS-1$ return CCorePlugin.PLUGIN_ID + ".PE64"; //$NON-NLS-1$
case Platform.OS_MACOSX: case Platform.OS_MACOSX:
return CCorePlugin.PLUGIN_ID + ".MachO64"; //$NON-NLS-1$ return CCorePlugin.PLUGIN_ID + ".MachO64"; //$NON-NLS-1$
default: default:

View file

@ -54,7 +54,7 @@
defaultExtension="toor" defaultExtension="toor"
isAbstract="false" isAbstract="false"
makeCommand="make" makeCommand="make"
binaryParser="org.eclipse.cdt.core.PE" binaryParser="org.eclipse.cdt.core.PE64"
makeArguments="-k" makeArguments="-k"
osList="win32"> osList="win32">
<tool <tool
@ -204,7 +204,7 @@
isTest="true" isTest="true"
defaultExtension="bus" defaultExtension="bus"
isAbstract="false" isAbstract="false"
binaryParser="org.eclipse.cdt.core.PE" binaryParser="org.eclipse.cdt.core.PE64"
archList="x86,ppc" archList="x86,ppc"
parent="test.root" parent="test.root"
makeArguments="-d" makeArguments="-d"
@ -374,7 +374,7 @@
isTest="true" isTest="true"
errorParsers="org.eclipse.cdt.core.CWDLocator;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GLDErrorParser;org.eclipse.cdt.core.GmakeErrorParser" errorParsers="org.eclipse.cdt.core.CWDLocator;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GLDErrorParser;org.eclipse.cdt.core.GmakeErrorParser"
name="Test Error Parsers" name="Test Error Parsers"
binaryParser="org.eclipse.cdt.core.PE" binaryParser="org.eclipse.cdt.core.PE64"
isAbstract="false" isAbstract="false"
id="test.error.parsers"> id="test.error.parsers">
<tool <tool
@ -1225,7 +1225,7 @@
<targetPlatform <targetPlatform
id="cdt.managedbuild.target.testgnu.platform.exe.debug" id="cdt.managedbuild.target.testgnu.platform.exe.debug"
name="Dbg Platform" name="Dbg Platform"
binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.PE" binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.PE64"
osList="solaris,linux,hpux,aix,qnx" osList="solaris,linux,hpux,aix,qnx"
archList="all"> archList="all">
</targetPlatform> </targetPlatform>
@ -1298,7 +1298,7 @@
<targetPlatform <targetPlatform
id="cdt.managedbuild.target.testgnu.platform.exe.release" id="cdt.managedbuild.target.testgnu.platform.exe.release"
name="Rel Platform" name="Rel Platform"
binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.PE" binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.PE64"
osList="solaris,linux,hpux,aix,qnx" osList="solaris,linux,hpux,aix,qnx"
archList="all"> archList="all">
</targetPlatform> </targetPlatform>
@ -3646,7 +3646,7 @@
<targetPlatform <targetPlatform
id="cdt.managedbuild.target.testenv.platform.exe.debug" id="cdt.managedbuild.target.testenv.platform.exe.debug"
name="Dbg Platform" name="Dbg Platform"
binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.PE" binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.PE64"
osList="solaris,linux,hpux,aix,qnx" osList="solaris,linux,hpux,aix,qnx"
archList="all"> archList="all">
</targetPlatform> </targetPlatform>
@ -3711,7 +3711,7 @@
<targetPlatform <targetPlatform
id="cdt.managedbuild.target.testenv.platform.exe.release" id="cdt.managedbuild.target.testenv.platform.exe.release"
name="Rel Platform" name="Rel Platform"
binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.PE" binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.PE64"
osList="solaris,linux,hpux,aix,qnx" osList="solaris,linux,hpux,aix,qnx"
archList="all"> archList="all">
</targetPlatform> </targetPlatform>
@ -3819,7 +3819,7 @@
<targetPlatform <targetPlatform
id="cdt.managedbuild.target.testenv.platform.exe.five" id="cdt.managedbuild.target.testenv.platform.exe.five"
name="Dbg Platform" name="Dbg Platform"
binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.PE" binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.PE64"
osList="solaris,linux,hpux,aix,qnx" osList="solaris,linux,hpux,aix,qnx"
archList="all"> archList="all">
</targetPlatform> </targetPlatform>
@ -3873,7 +3873,7 @@
<targetPlatform <targetPlatform
id="TopTC.platform" id="TopTC.platform"
name="TopTC Platform" name="TopTC Platform"
binaryParser="org.eclipse.cdt.core.PE"/> binaryParser="org.eclipse.cdt.core.PE64"/>
<builder <builder
id="TopTC.managedbuilder" id="TopTC.managedbuilder"
name="TopTC Builder"/> name="TopTC Builder"/>
@ -4018,7 +4018,7 @@
<targetPlatform <targetPlatform
id="cdt.managedbuild.target.testMultipleVersions.platform.exe.debug" id="cdt.managedbuild.target.testMultipleVersions.platform.exe.debug"
name="Debug IA32 Platform" name="Debug IA32 Platform"
binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.PE" binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.PE64"
osList="solaris,linux,hpux,aix,qnx" osList="solaris,linux,hpux,aix,qnx"
archList="all"> archList="all">
</targetPlatform> </targetPlatform>
@ -4058,7 +4058,7 @@
<targetPlatform <targetPlatform
id="cdt.managedbuild.target.testMultipleVersions.platform.exe.release" id="cdt.managedbuild.target.testMultipleVersions.platform.exe.release"
name="Release IA32 Platform" name="Release IA32 Platform"
binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.PE" binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.PE64"
osList="solaris,linux,hpux,aix,qnx" osList="solaris,linux,hpux,aix,qnx"
archList="all"> archList="all">
</targetPlatform> </targetPlatform>
@ -4159,7 +4159,7 @@
<targetPlatform <targetPlatform
id="target.testProjectConverterConvenienceRoutines.platform.exe.debug" id="target.testProjectConverterConvenienceRoutines.platform.exe.debug"
name="Debug IA32 Platform" name="Debug IA32 Platform"
binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.PE" binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.PE64"
osList="solaris,linux,hpux,aix,qnx" osList="solaris,linux,hpux,aix,qnx"
archList="all"> archList="all">
</targetPlatform> </targetPlatform>
@ -4741,7 +4741,7 @@
<targetPlatform <targetPlatform
id="cdt.test.fortran.platform.executable.release" id="cdt.test.fortran.platform.executable.release"
name="Platform.Executable.Release" name="Platform.Executable.Release"
binaryParser="org.eclipse.cdt.core.PE" binaryParser="org.eclipse.cdt.core.PE64"
osList="win32" osList="win32"
archList="x86"> archList="x86">
</targetPlatform> </targetPlatform>
@ -4785,7 +4785,7 @@
<targetPlatform <targetPlatform
id="cdt.test.fortran.platform.executable.debug" id="cdt.test.fortran.platform.executable.debug"
name="Platform.Executable.Debug" name="Platform.Executable.Debug"
binaryParser="org.eclipse.cdt.core.PE" binaryParser="org.eclipse.cdt.core.PE64"
osList="win32" osList="win32"
archList="x86"> archList="x86">
</targetPlatform> </targetPlatform>
@ -5097,7 +5097,7 @@
<targetPlatform <targetPlatform
id="cdt.managedbuild.target.enablement.platform.exe.debug" id="cdt.managedbuild.target.enablement.platform.exe.debug"
name="Dbg Platform" name="Dbg Platform"
binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.PE" binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.PE64"
osList="solaris,linux,hpux,aix,qnx" osList="solaris,linux,hpux,aix,qnx"
archList="all"> archList="all">
</targetPlatform> </targetPlatform>
@ -8470,7 +8470,7 @@
<targetPlatform <targetPlatform
id="test.four.dot.zero.cdt.managedbuild.target.gnu.platform.cygwin.base" id="test.four.dot.zero.cdt.managedbuild.target.gnu.platform.cygwin.base"
name="Test 4.0 PlatformName.Dbg" name="Test 4.0 PlatformName.Dbg"
binaryParser="org.eclipse.cdt.core.Cygwin_PE" binaryParser="org.eclipse.cdt.core.Cygwin_PE64"
osList="win32" osList="win32"
archList="all"> archList="all">
</targetPlatform> </targetPlatform>

View file

@ -80,7 +80,7 @@ public class ManagedBuildCoreTests extends TestCase {
int expectedSizeOSList = 5; int expectedSizeOSList = 5;
String[] expectedArchList = { "all" }; String[] expectedArchList = { "all" };
String expectedBinaryParser = "org.eclipse.cdt.core.ELF"; String expectedBinaryParser = "org.eclipse.cdt.core.ELF";
String expectedBinaryParser2 = "org.eclipse.cdt.core.PE"; String expectedBinaryParser2 = "org.eclipse.cdt.core.PE64";
String[] expectedPlatformName = { "Dbg Platform", "Rel Platform" }; String[] expectedPlatformName = { "Dbg Platform", "Rel Platform" };
String expectedCommand = "make"; String expectedCommand = "make";
String expectedArguments = "-k"; String expectedArguments = "-k";

View file

@ -891,7 +891,7 @@ public class ManagedBuildCoreTests20 extends TestCase {
private void checkRootProjectType(IProjectType type) throws BuildException { private void checkRootProjectType(IProjectType type) throws BuildException {
// Project stuff // Project stuff
String expectedCleanCmd = "del /myworld"; String expectedCleanCmd = "del /myworld";
String expectedParserId = "org.eclipse.cdt.core.PE"; String expectedParserId = "org.eclipse.cdt.core.PE64";
String[] expectedOSList = { "win32" }; String[] expectedOSList = { "win32" };
String[] expectedArchList = { "all" }; String[] expectedArchList = { "all" };
assertTrue(type.isTestProjectType()); assertTrue(type.isTestProjectType());
@ -1123,7 +1123,7 @@ public class ManagedBuildCoreTests20 extends TestCase {
*/ */
private void checkRootManagedProject(IManagedProject managedProj, String testValue) throws BuildException { private void checkRootManagedProject(IManagedProject managedProj, String testValue) throws BuildException {
String expectedCleanCmd = "del /myworld"; String expectedCleanCmd = "del /myworld";
String expectedParserId = "org.eclipse.cdt.core.PE"; String expectedParserId = "org.eclipse.cdt.core.PE64";
String[] expectedOSList = { "win32" }; String[] expectedOSList = { "win32" };
String[] expectedArchList = { "all" }; String[] expectedArchList = { "all" };
assertTrue(managedProj.getProjectType().isTestProjectType()); assertTrue(managedProj.getProjectType().isTestProjectType());
@ -1571,7 +1571,7 @@ public class ManagedBuildCoreTests20 extends TestCase {
// Make sure the binary parser is hard-coded and available // Make sure the binary parser is hard-coded and available
IToolChain toolChain = configs[0].getToolChain(); IToolChain toolChain = configs[0].getToolChain();
ITargetPlatform targetPlatform = toolChain.getTargetPlatform(); ITargetPlatform targetPlatform = toolChain.getTargetPlatform();
assertEquals("org.eclipse.cdt.core.PE", targetPlatform.getBinaryParserList()[0]); assertEquals("org.eclipse.cdt.core.PE64", targetPlatform.getBinaryParserList()[0]);
String[] expectedOSList = { "win32", "linux", "solaris" }; String[] expectedOSList = { "win32", "linux", "solaris" };
assertTrue(Arrays.equals(expectedOSList, toolChain.getOSList())); assertTrue(Arrays.equals(expectedOSList, toolChain.getOSList()));
// Make sure the list is overridden // Make sure the list is overridden
@ -1880,7 +1880,7 @@ public class ManagedBuildCoreTests20 extends TestCase {
*/ */
private void checkErrorParsersProject(IManagedProject proj) throws BuildException { private void checkErrorParsersProject(IManagedProject proj) throws BuildException {
// Target stuff // Target stuff
String expectedBinParserId = "org.eclipse.cdt.core.PE"; String expectedBinParserId = "org.eclipse.cdt.core.PE64";
IConfiguration[] configs = proj.getConfigurations(); IConfiguration[] configs = proj.getConfigurations();
IToolChain toolChain = configs[0].getToolChain(); IToolChain toolChain = configs[0].getToolChain();
ITargetPlatform targetPlatform = toolChain.getTargetPlatform(); ITargetPlatform targetPlatform = toolChain.getTargetPlatform();

View file

@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2 Bundle-ManifestVersion: 2
Bundle-Name: %pluginName Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.cdt.managedbuilder.core; singleton:=true Bundle-SymbolicName: org.eclipse.cdt.managedbuilder.core; singleton:=true
Bundle-Version: 8.7.100.qualifier Bundle-Version: 8.7.200.qualifier
Bundle-Activator: org.eclipse.cdt.managedbuilder.core.ManagedBuilderCorePlugin Bundle-Activator: org.eclipse.cdt.managedbuilder.core.ManagedBuilderCorePlugin
Bundle-Vendor: %providerName Bundle-Vendor: %providerName
Bundle-Localization: plugin Bundle-Localization: plugin

View file

@ -514,7 +514,7 @@ Additional special types exist to flag options of special relevance to the build
<attribute name="binaryParser" type="string"> <attribute name="binaryParser" type="string">
<annotation> <annotation>
<documentation> <documentation>
Set this to the ID of the binary parser for the output format of your target. Currently there are only 2 choices: org.eclipse.cdt.core.ELF for *nix targets, and &quot;org.eclipse.cdt.core.PE&quot; for targets that build for Windows, like Cygwin. Set this to the ID of the binary parser for the output format of your target. Currently there are only 2 choices: org.eclipse.cdt.core.ELF for *nix targets, and &quot;org.eclipse.cdt.core.PE64&quot; for targets that build for Windows, like Cygwin.
</documentation> </documentation>
</annotation> </annotation>
</attribute> </attribute>

View file

@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2 Bundle-ManifestVersion: 2
Bundle-Name: %pluginName Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.cdt.managedbuilder.gnu.ui; singleton:=true Bundle-SymbolicName: org.eclipse.cdt.managedbuilder.gnu.ui; singleton:=true
Bundle-Version: 8.3.1.qualifier Bundle-Version: 8.3.100.qualifier
Bundle-Activator: org.eclipse.cdt.managedbuilder.gnu.ui.GnuUIPlugin Bundle-Activator: org.eclipse.cdt.managedbuilder.gnu.ui.GnuUIPlugin
Bundle-Vendor: %providerName Bundle-Vendor: %providerName
Bundle-Localization: plugin Bundle-Localization: plugin

View file

@ -1924,7 +1924,7 @@
<targetPlatform <targetPlatform
id="cdt.managedbuild.target.gnu.platform.cygwin.base" id="cdt.managedbuild.target.gnu.platform.cygwin.base"
name="%PlatformName.Dbg" name="%PlatformName.Dbg"
binaryParser="org.eclipse.cdt.core.Cygwin_PE" binaryParser="org.eclipse.cdt.core.Cygwin_PE64"
osList="win32" osList="win32"
archList="all"> archList="all">
</targetPlatform> </targetPlatform>
@ -1994,7 +1994,7 @@
<targetPlatform <targetPlatform
id="cdt.managedbuild.target.gnu.platform.mingw.base" id="cdt.managedbuild.target.gnu.platform.mingw.base"
name="%PlatformName.Dbg" name="%PlatformName.Dbg"
binaryParser="org.eclipse.cdt.core.PE" binaryParser="org.eclipse.cdt.core.PE64"
osList="win32" osList="win32"
archList="all"> archList="all">
</targetPlatform> </targetPlatform>

View file

@ -3343,6 +3343,11 @@
parserID="org.eclipse.cdt.core.Cygwin_PE" parserID="org.eclipse.cdt.core.Cygwin_PE"
id="PEBinaryParserPage"> id="PEBinaryParserPage">
</parserPage> </parserPage>
<parserPage
class="org.eclipse.cdt.ui.dialogs.CygwinPEBinaryParserPage"
parserID="org.eclipse.cdt.core.Cygwin_PE64"
id="PEBinaryParserPage">
</parserPage>
<parserPage <parserPage
class="org.eclipse.cdt.ui.dialogs.GNUXCoffBinaryParserPage" class="org.eclipse.cdt.ui.dialogs.GNUXCoffBinaryParserPage"
parserID="org.eclipse.cdt.core.XCOFF32" parserID="org.eclipse.cdt.core.XCOFF32"

View file

@ -10,7 +10,7 @@
<div role="main"><h1>Selecting a binary parser</h1> <div role="main"><h1>Selecting a binary parser</h1>
<p>Selecting the correct binary parser is important to ensure the <p>Selecting the correct binary parser is important to ensure the
accuracy of the C/C++ Projects view and to successfully run and debug accuracy of the C/C++ Projects view and to successfully run and debug
your programs. Windows users should select the PE Windows Parser. UNIX your programs. Windows users should select the PE64 Windows Parser. UNIX
and Linux users should select the Elf Parser. When you select the and Linux users should select the Elf Parser. When you select the
correct parser for your development environment and build your project, correct parser for your development environment and build your project,
you can view the components of the .o file in the C/C++ Projects view you can view the components of the .o file in the C/C++ Projects view
@ -30,8 +30,8 @@ for binary parser are got from Preferences during project creation.</p>
<li>In the <strong>Binary Parser</strong> list, click: <li>In the <strong>Binary Parser</strong> list, click:
<ul> <ul>
<li><strong>Elf Parser</strong>, if you are a Solaris, UNIX, or Linux user.</li> <li><strong>Elf Parser</strong>, if you are a Solaris, UNIX, or Linux user.</li>
<li><strong>PE Windows Parser</strong>, if you are a Windows user.</li> <li><strong>PE64 Windows Parser</strong>, if you are a Windows user.</li>
<li><strong>Cygwin PE Parser</strong>, if you are using Cygwin.</li> <li><strong>Cygwin PE64 Parser</strong>, if you are using Cygwin.</li>
</ul> </ul>
</li> </li>
<li>Click <strong>OK</strong>.</li> <li>Click <strong>OK</strong>.</li>

View file

@ -5043,7 +5043,7 @@ example.toolchain.targetplatform</code>.</li></a></a>
you will be using to create your example projects on. For example, if you will be using to create your example projects on. For example, if
you you
are running this tutorial on Linux or Solaris, enter the value <code>org.eclipse.cdt.core.ELF</code>. are running this tutorial on Linux or Solaris, enter the value <code>org.eclipse.cdt.core.ELF</code>.
If you are running the tutorial on Windows, enter the value <code>org.eclipse.cdt.core.PE</code>.</li> If you are running the tutorial on Windows, enter the value <code>org.eclipse.cdt.core.PE64</code>.</li>
</ol> </ol>
<p style="font-weight: normal;" class="subsection"> <p style="font-weight: normal;" class="subsection">
<strong> <strong>

View file

@ -10,7 +10,7 @@
<div role="main"><h1>Selecting a binary parser</h1> <div role="main"><h1>Selecting a binary parser</h1>
<p>Selecting the correct binary parser is important to ensure the <p>Selecting the correct binary parser is important to ensure the
accuracy of the C/C++ Projects view and to successfully run and debug accuracy of the C/C++ Projects view and to successfully run and debug
your programs. Windows users should select the PE Windows Parser. UNIX your programs. Windows users should select the PE64 Windows Parser. UNIX
and Linux users should select the Elf Parser. When you select the and Linux users should select the Elf Parser. When you select the
correct parser for your development environment and build your project, correct parser for your development environment and build your project,
you can view the components of the .o file in the C/C++ Projects view you can view the components of the .o file in the C/C++ Projects view
@ -30,8 +30,8 @@ for binary parser are got from Preferences during project creation.</p>
<li>In the <strong>Binary Parser</strong> list, click: <li>In the <strong>Binary Parser</strong> list, click:
<ul> <ul>
<li><strong>Elf Parser</strong>, if you are a Solaris, UNIX, or Linux user.</li> <li><strong>Elf Parser</strong>, if you are a Solaris, UNIX, or Linux user.</li>
<li><strong>PE Windows Parser</strong>, if you are a Windows user.</li> <li><strong>PE64 Windows Parser</strong>, if you are a Windows user.</li>
<li><strong>Cygwin PE Parser</strong>, if you are using Cygwin.</li> <li><strong>Cygwin PE64 Parser</strong>, if you are using Cygwin.</li>
</ul> </ul>
</li> </li>
<li>Click <strong>OK</strong>.</li> <li>Click <strong>OK</strong>.</li>

View file

@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2 Bundle-ManifestVersion: 2
Bundle-Name: %pluginName Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.cdt.managedbuilder.llvm.ui;singleton:=true Bundle-SymbolicName: org.eclipse.cdt.managedbuilder.llvm.ui;singleton:=true
Bundle-Version: 1.1.8.qualifier Bundle-Version: 1.1.100.qualifier
Bundle-Activator: org.eclipse.cdt.managedbuilder.llvm.ui.LlvmUIPlugin Bundle-Activator: org.eclipse.cdt.managedbuilder.llvm.ui.LlvmUIPlugin
Bundle-Vendor: %providerName Bundle-Vendor: %providerName
Bundle-Localization: plugin Bundle-Localization: plugin

View file

@ -1222,7 +1222,7 @@
superClass="cdt.managedbuild.toolchain.llvm.clang.base"> superClass="cdt.managedbuild.toolchain.llvm.clang.base">
<targetPlatform <targetPlatform
archList="all" archList="all"
binaryParser="org.eclipse.cdt.core.Cygwin_PE" binaryParser="org.eclipse.cdt.core.Cygwin_PE64"
id="cdt.managedbuild.target.llvm.win32.cygwin.platform.base" id="cdt.managedbuild.target.llvm.win32.cygwin.platform.base"
isAbstract="true" isAbstract="true"
name="%PlatformName.Dbg" name="%PlatformName.Dbg"
@ -1241,7 +1241,7 @@
superClass="cdt.managedbuild.toolchain.llvm.clang.base"> superClass="cdt.managedbuild.toolchain.llvm.clang.base">
<targetPlatform <targetPlatform
archList="all" archList="all"
binaryParser="org.eclipse.cdt.core.PE" binaryParser="org.eclipse.cdt.core.PE64"
id="cdt.managedbuild.target.llvm.win32.mingw.platform.base" id="cdt.managedbuild.target.llvm.win32.mingw.platform.base"
isAbstract="true" isAbstract="true"
name="%PlatformName.Dbg" name="%PlatformName.Dbg"
@ -1347,7 +1347,7 @@
superClass="cdt.managedbuild.toolchain.llvm.gnu.base"> superClass="cdt.managedbuild.toolchain.llvm.gnu.base">
<targetPlatform <targetPlatform
archList="all" archList="all"
binaryParser="org.eclipse.cdt.core.Cygwin_PE" binaryParser="org.eclipse.cdt.core.Cygwin_PE64"
id="cdt.managedbuild.target.llvm.gnu.win32.cygwin.platform.base" id="cdt.managedbuild.target.llvm.gnu.win32.cygwin.platform.base"
isAbstract="true" isAbstract="true"
name="%PlatformName.Dbg" name="%PlatformName.Dbg"
@ -1366,7 +1366,7 @@
superClass="cdt.managedbuild.toolchain.llvm.gnu.base"> superClass="cdt.managedbuild.toolchain.llvm.gnu.base">
<targetPlatform <targetPlatform
archList="all" archList="all"
binaryParser="org.eclipse.cdt.core.PE" binaryParser="org.eclipse.cdt.core.PE64"
id="cdt.managedbuild.target.llvm.gnu.win32.mingw.platform.base" id="cdt.managedbuild.target.llvm.gnu.win32.mingw.platform.base"
isAbstract="true" isAbstract="true"
name="%PlatformName.Dbg" name="%PlatformName.Dbg"
@ -1432,7 +1432,7 @@
superClass="cdt.managedbuild.toolchain.llvm.with.static.compiler.base"> superClass="cdt.managedbuild.toolchain.llvm.with.static.compiler.base">
<targetPlatform <targetPlatform
archList="all" archList="all"
binaryParser="org.eclipse.cdt.core.PE" binaryParser="org.eclipse.cdt.core.PE64"
id="cdt.managedbuild.target.llvm.static.compiler.win32.platform.base" id="cdt.managedbuild.target.llvm.static.compiler.win32.platform.base"
isAbstract="true" isAbstract="true"
name="%PlatformName.Dbg" name="%PlatformName.Dbg"
@ -1498,7 +1498,7 @@
superClass="cdt.managedbuild.toolchain.llvm.jit.base"> superClass="cdt.managedbuild.toolchain.llvm.jit.base">
<targetPlatform <targetPlatform
archList="all" archList="all"
binaryParser="org.eclipse.cdt.core.PE" binaryParser="org.eclipse.cdt.core.PE64"
id="cdt.managedbuild.target.llvm.jit.win32.platform.base" id="cdt.managedbuild.target.llvm.jit.win32.platform.base"
isAbstract="true" isAbstract="true"
name="%PlatformName.Dbg" name="%PlatformName.Dbg"

View file

@ -258,7 +258,7 @@
targetTool="org.eclipse.cdt.msvc.link;org.eclipse.cdt.msvc.lib"> targetTool="org.eclipse.cdt.msvc.link;org.eclipse.cdt.msvc.lib">
<targetPlatform <targetPlatform
archList="all" archList="all"
binaryParser="org.eclipse.cdt.core.PE" binaryParser="org.eclipse.cdt.core.PE64"
id="org.eclipse.cdt.msvc.targetPlatform" id="org.eclipse.cdt.msvc.targetPlatform"
osList="win32"> osList="win32">
</targetPlatform> </targetPlatform>

View file

@ -206,7 +206,7 @@ public class MSVCToolChain extends PlatformObject implements IToolChain {
@Override @Override
public String getBinaryParserId() { public String getBinaryParserId() {
return CCorePlugin.PLUGIN_ID + ".PE"; //$NON-NLS-1$ return CCorePlugin.PLUGIN_ID + ".PE64"; //$NON-NLS-1$
} }
@Override @Override