summaryrefslogtreecommitdiffstats
path: root/support
Commit message (Collapse)AuthorAgeFilesLines
* Simplify writing custom parsers.Chris Lattner2002-08-071-76/+48
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3256 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix lli with no argumentsChris Lattner2002-08-021-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3226 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bug that was causing problems for lliChris Lattner2002-07-311-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3176 91177308-0d34-0410-b5e6-96231b3b80d8
* * Fix assertion failure caused by command line argument getting removed afterChris Lattner2002-07-291-15/+35
| | | | | | | | the map was freed. * Cleanup code a bit git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3121 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove needless #includeChris Lattner2002-07-271-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3117 91177308-0d34-0410-b5e6-96231b3b80d8
* *** empty log message ***Chris Lattner2002-07-252-3/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3075 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix problem that GCC3.1 doesn't like.Chris Lattner2002-07-241-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3050 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a bug exposed by lliChris Lattner2002-07-241-2/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3049 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial checkinChris Lattner2002-07-231-0/+30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3005 91177308-0d34-0410-b5e6-96231b3b80d8
* *** empty log message ***Chris Lattner2002-07-231-3/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3002 91177308-0d34-0410-b5e6-96231b3b80d8
* *** empty log message ***Chris Lattner2002-07-231-0/+32
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2999 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor bugfix, prevents error in LLIChris Lattner2002-07-221-4/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2989 91177308-0d34-0410-b5e6-96231b3b80d8
* *** empty log message ***Chris Lattner2002-07-222-4/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2985 91177308-0d34-0410-b5e6-96231b3b80d8
* Checkin CommandLine 2.0Chris Lattner2002-07-221-242/+445
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2982 91177308-0d34-0410-b5e6-96231b3b80d8
* changes to make it compatible with 64bit gccAnand Shukla2002-06-251-4/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2791 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix const problemsChris Lattner2002-06-051-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2760 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement a new command line option, -debug, which is meant to unify all ofChris Lattner2002-05-222-0/+6
| | | | | | | | | the random debugging macros scattered throughout llvm. The new DEBUG(x) macro should be used instead of special purpose debug macros. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2709 91177308-0d34-0410-b5e6-96231b3b80d8
* Add ability to update existing variables with values read from the command lineChris Lattner2002-05-221-1/+1
| | | | | | | | | | to certain classes. This is nice because it means that in header files we can just declare a value, and still have that value be set based on a command-line argument. The difference is now that the #include of CommandLine.h does not need to go into the header file as well. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2708 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial checkin of Statistic class.Chris Lattner2002-05-102-0/+62
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2598 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate duplicate or unneccesary #include'sChris Lattner2002-04-291-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2397 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new api for basic signal handling for toolsChris Lattner2002-04-181-0/+53
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2302 91177308-0d34-0410-b5e6-96231b3b80d8
* s/MethodType/FunctionTypeChris Lattner2002-04-041-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2115 91177308-0d34-0410-b5e6-96231b3b80d8
* 64 bit clean nowChris Lattner2002-02-241-3/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1789 91177308-0d34-0410-b5e6-96231b3b80d8
* If an invalid alternative is listed for an argument, print the valid optionsChris Lattner2002-01-311-3/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1604 91177308-0d34-0410-b5e6-96231b3b80d8
* Changes to build successfully with GCC 3.02Chris Lattner2002-01-203-17/+28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1503 91177308-0d34-0410-b5e6-96231b3b80d8
* Renamed inst_const_iterator -> const_inst_iteratorChris Lattner2001-12-041-2/+2
| | | | | | | | Renamed op_const_iterator -> const_op_iterator Renamed PointerType::getValueType() -> PointerType::getElementType() git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1408 91177308-0d34-0410-b5e6-96231b3b80d8
* Create a new #include "Support/..." directory structure to move thingsChris Lattner2001-11-272-68/+2
| | | | | | | | | from "llvm/Support/..." that are not llvm dependant. Move files and fix #includes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1400 91177308-0d34-0410-b5e6-96231b3b80d8
* * Implement support for folding multiple single letter arguments together likeChris Lattner2001-11-261-8/+66
| | | | | | | | | with ls: ls -la === ls -l -a * Implement support for trimming arguments that start with a single letter argument so that -lfoo is recognized as -l foo for the linker git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1378 91177308-0d34-0410-b5e6-96231b3b80d8
* Checkin of C string stuff. Fix several bugs, including most escape codes beingChris Lattner2001-10-291-0/+66
| | | | | | | printed as '\\n' instead of their correct code. Also print things in octal instead of hex. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1022 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial checkin of name mangling code moved from linkerChris Lattner2001-10-281-0/+46
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1018 91177308-0d34-0410-b5e6-96231b3b80d8
* Provide option to enable eating of all arguments following a specific oneChris Lattner2001-10-271-28/+41
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@986 91177308-0d34-0410-b5e6-96231b3b80d8
* Clean up error handling a bit. Add / as a seperator for command line ↵Chris Lattner2001-10-241-3/+6
| | | | | | arguments. This is just a big old ugly hack. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@974 91177308-0d34-0410-b5e6-96231b3b80d8
* Add StringList supportChris Lattner2001-10-131-1/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@766 91177308-0d34-0410-b5e6-96231b3b80d8
* Clean up Type class by removing mutable ConstRules member and use ↵Chris Lattner2001-09-091-0/+10
| | | | | | annotations insead git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@516 91177308-0d34-0410-b5e6-96231b3b80d8
* Annotations are const objects nowChris Lattner2001-09-071-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@458 91177308-0d34-0410-b5e6-96231b3b80d8
* Support passing a data pointer to annotation factory methodsChris Lattner2001-08-271-5/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@376 91177308-0d34-0410-b5e6-96231b3b80d8
* Add annotation supportChris Lattner2001-08-231-0/+63
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed a bug exposed when doing something like this: <program> -notanoption ↵Chris Lattner2001-07-251-3/+5
| | | | | | --help git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293 91177308-0d34-0410-b5e6-96231b3b80d8
* Doh! Wrong Optional flag. :(Chris Lattner2001-07-231-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@290 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a comment indicating that there is documentation of the libraryChris Lattner2001-07-231-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@289 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor changes to implementation of CommandLine library to let users overrideChris Lattner2001-07-231-7/+19
| | | | | | | options forced by different subclasses of Option git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286 91177308-0d34-0410-b5e6-96231b3b80d8
* CommandLine library cleanup. No longer use getValue/setValue, instead, just ↵Chris Lattner2001-07-231-1/+1
| | | | | | | | | treat the commandline args as the objects they represent and the "right thing" will happen git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@283 91177308-0d34-0410-b5e6-96231b3b80d8
* Moved inline/llvm/Tools/* to include/llvm/Support/*Chris Lattner2001-07-231-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial checkinChris Lattner2001-07-231-0/+399
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@278 91177308-0d34-0410-b5e6-96231b3b80d8
* Large scale changes to implement new command line argument facilityChris Lattner2001-07-233-362/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert from using C style char*'s to strings.Chris Lattner2001-07-222-58/+31
| | | | | | | Look ma, no strdups git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove String file some moreChris Lattner2001-07-221-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@264 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove stringutils.h fileChris Lattner2001-07-221-10/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@263 91177308-0d34-0410-b5e6-96231b3b80d8
* Program options class.Vikram S. Adve2001-07-213-0/+399
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235 91177308-0d34-0410-b5e6-96231b3b80d8