llvm-project/clang/lib/Driver
Michael J. Spencer 929fccd476 [Options] Add prefixes to options.
Each option has a set of prefixes. When matching an argument such as
-funroll-loops. First the leading - is removed as it is a prefix. Then
a lower_bound search for "funroll-loops" is done against the option table by
option name. From there each option prefix + option name combination is tested
against the argument.

This allows us to support Microsoft style options where both / and - are valid
prefixes. It also simplifies the cases we already have where options come in
both - and -- forms. Almost every option for gnu-ld happens to have this form.

llvm-svn: 166444
2012-10-22 22:13:48 +00:00
..
Action.cpp Add new code migrator support for migrating existing Objective-C code to use 2012-03-06 20:06:33 +00:00
Arg.cpp [Options] Add prefixes to options. 2012-10-22 22:13:48 +00:00
ArgList.cpp [Options] Add prefixes to options. 2012-10-22 22:13:48 +00:00
CC1AsOptions.cpp [Options] Add prefixes to options. 2012-10-22 22:13:48 +00:00
CMakeLists.txt clang/lib: [CMake] Update tblgen'd dependencies. 2012-07-27 06:18:33 +00:00
Compilation.cpp Use array_lengthof instead of sizeof trickery. 2012-05-03 21:25:34 +00:00
Driver.cpp [Options] Add prefixes to options. 2012-10-22 22:13:48 +00:00
DriverOptions.cpp [Options] Add prefixes to options. 2012-10-22 22:13:48 +00:00
InputInfo.h Driver: Eliminate special InputInfo kind for pipes, it is now unused. 2010-08-02 02:38:21 +00:00
Job.cpp Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch 2011-12-20 02:48:34 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
OptTable.cpp [Options] Add prefixes to options. 2012-10-22 22:13:48 +00:00
Option.cpp [Options] Add prefixes to options. 2012-10-22 22:13:48 +00:00
Phases.cpp Removing a bunch of dead returns/breaks after llvm_unreachables. 2011-09-23 20:26:49 +00:00
Tool.cpp Remove stray emacs mode markers in all these files that was causing emacs to 2010-12-31 17:31:54 +00:00
ToolChain.cpp Driver: Link crtfastmath.o if it's available and -ffast-math is specified. 2012-10-04 19:42:20 +00:00
ToolChains.cpp Add support of MIPS n32 ABI to the Clang driver. The fix builds correct library/object files paths and passes appropriate command line options to the linker if user provides -mabi=n32 option. 2012-10-21 11:44:57 +00:00
ToolChains.h Add support of MIPS n32 ABI to the Clang driver. The fix builds correct library/object files paths and passes appropriate command line options to the linker if user provides -mabi=n32 option. 2012-10-21 11:44:57 +00:00
Tools.cpp [Options] Add prefixes to options. 2012-10-22 22:13:48 +00:00
Tools.h During LTO, we call 'dsymutil' when we compile source files. This necessitates 2012-10-02 18:02:50 +00:00
Types.cpp [driver] Lipo can handle the lto-bc type. 2012-08-02 21:39:47 +00:00
WindowsToolChain.cpp Use getArch instead of getArchName + string compare. 2012-10-07 04:44:33 +00:00