From 390ad0f69b3dde1e2a9803d5063813c025c66568 Mon Sep 17 00:00:00 2001 From: Chris Recoskie Date: Wed, 13 Jun 2007 13:43:38 +0000 Subject: [PATCH] Numerous changes to the xlc plugin. The option for inlines wasn't working right. Added browseTypes to a couple of options. Made -qhalt an enumerated option. --- .../plugin.properties | 11 +- .../plugin.xml | 120 ++++++++---------- 2 files changed, 60 insertions(+), 71 deletions(-) diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.properties b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.properties index 89062fd8a29..e11a3847403 100644 --- a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.properties +++ b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.properties @@ -191,8 +191,8 @@ Option.Optimize.Level5 = -O5 Option.inlining = Function inlining Option.inlining.Q = inline all functions (-Q) Option.inlining.Qexclamation = diable inlining (-Q!) -Option.Qplus = Specify functions to be inlined(-Q+=) -Option.Qminus = Specify functions to not inline (-Q-=) +Option.Qplus = Specify functions to be inlined(-Q+name1:name2:...:nameN) +Option.Qminus = Specify functions to not inline (-Q-name1:name2:...:nameN) Option.aggrcopy = Enable destructive copy operations for structs and unions Option.aggrcopy.nooverlap=no overlap (-qaggrcopy=nooverlap) Option.aggrcopy.overlap=overlap (-qaggrcopy=overlap) @@ -284,6 +284,7 @@ Option.Linker.Defname=DEF file name (-Wl,--output-def=) Option.linking.bundle = Create a bundle (-bundle) Option.linking.bundle_loader = Specify the name of bundle loader program (-bundle_loader=) Option.linking.f = Specify file containing a list of object files for the compiler to pass to the linker (-f) +Option.linking.expfile = Save all the exported symbols in the designated file (-qexpfile=) #Archiver options Option.Archiver.Flags=Other archiver flags @@ -309,7 +310,6 @@ Option.rndflt.zero = Zero Option.B = Determine substitute program path name (-B) Option.F = Specify alternate configuration file (-F) Option.t = Add prefix to designated programs (-t) -Option.expfile = Save all the exported symbols in the designated file (-qexpfile=) Option.maxmem = Amount of memory used during optimization (-qmaxmem=) Option.path = Alternate program name for compiler components (-qpath=) Option.tls = Specify the thread local strorage model (-qtls=) @@ -329,6 +329,11 @@ Option.attr.attr = Report attributes of only used identifiers(-qattr) Option.flag = Specify the minimum severity level of the diagnostic messages(-qflag=) Option.format = Warn of possible problems with string input and output format specifications (-qformat=) Option.halt = Instruct the compiler to stop after compilation if it encounters errors of specified severity or higher (-qhalt=) +Option.halt.information = Information (-qhalt=i) +Option.halt.warning = Warning (-qhalt=w) +Option.halt.error = Error (-qhalt=e) +Option.halt.severeError = Severe error (-qhalt=s) +Option.halt.unrecoverableError = Unrecoverable error (-qhalt=u) Option.info = Produce informational messages (-qinfo= ) Option.list = Produce a compiler listing that includes an object listing(-qlist) Option.listopt = Produce a compiler listing that displays all options in effect(-qlistopt) diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.xml b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.xml index bb28a1ab414..9bfb0ffcbb1 100644 --- a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.xml +++ b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.xml @@ -198,14 +198,14 @@ category="xlc.c.compiler.category.optimization" command="-Q+=" id="xlc.c.compiler.option.optimization.Qplus" - valueType="stringList"> + valueType="string"> - - +