- Sep 20, 2009
-
-
Chris Lattner authored
llvm-svn: 82363
-
Chris Lattner authored
1. Change some "\n" -> '\n'. 2. eliminte some std::string's by using raw_ostream::indent. 3. move a bunch of code out of the main arg parser routine into a new static HandlePrefixedOrGroupedOption function. 4. Greatly simplify the implementation of getOptionPred, and make it avoid splitting prefix options at = when that doesn't match a non-prefix option. llvm-svn: 82362
-
Daniel Dunbar authored
llvm-svn: 82360
-
Daniel Dunbar authored
llvm-svn: 82355
-
Chris Lattner authored
llvm-svn: 82352
-
Chris Lattner authored
maintain the "null is unspecified, empty is empty" semantics. llvm-svn: 82351
-
Chris Lattner authored
This requires StringRef'izing ProvideOption which I also did. llvm-svn: 82350
-
Chris Lattner authored
llvm-svn: 82348
-
Chris Lattner authored
find_first_of/find_first_of methods. llvm-svn: 82347
-
Chris Lattner authored
llvm-svn: 82346
-
Chris Lattner authored
stringref because they may not be nul terminated. For options like -Lfoo this now avoids a O(n) temporary std::strings where N is the length of the string after -L. llvm-svn: 82345
-
Chris Lattner authored
a std::vector and a bunch of std::string temporaries. llvm-svn: 82341
-
Chris Lattner authored
llvm-svn: 82339
-
Chris Lattner authored
common and useful integer types. llvm-svn: 82338
-
- Sep 19, 2009
-
-
Chris Lattner authored
llvm-svn: 82322
-
Chris Lattner authored
a massive number of temporary strings created when parsing a command line. More still left to eliminate. llvm-svn: 82318
-
Benjamin Kramer authored
- Replace std::map<std::string with StringMap - Eliminate unnecessary std::string copies - ~10% speed-up for clang's testsuite on my machine (debug build) llvm-svn: 82312
-
- Sep 17, 2009
-
-
Chris Lattner authored
llvm-svn: 82110
-
Daniel Dunbar authored
llvm-svn: 82087
-
- Sep 15, 2009
-
-
Daniel Dunbar authored
- As best I can tell, we have eliminated all the code which used to require a larger buffer size. llvm-svn: 81912
-
- Sep 11, 2009
-
-
Ted Kremenek authored
llvm-svn: 81577
-
Dan Gohman authored
working. To support this, add an is_displayed() function to raw_ostream, and generalize Process::StandardOutIsDisplayed and friends in order to support it. Also, call RemoveFileOnSignal before creating a file instead of after, so that the file isn't left behind if the program is interrupted between when the file is created and RemoveFileOnSignal is called. While here, add a -S to llvm-extract and port it to IRReader so that it supports assembly input. llvm-svn: 81568
-
- Sep 10, 2009
-
-
Chris Lattner authored
llvm-svn: 81402
-
Daniel Dunbar authored
llvm-svn: 81393
-
Sean Callanan authored
all disassemblers. Modified the MemoryObject to support 64-bit address spaces, regardless of the LLVM process's address width. Modified the Target class to allow extraction of a MCDisassembler. llvm-svn: 81392
-
- Sep 09, 2009
-
-
Evan Cheng authored
llvm-svn: 81308
-
Daniel Dunbar authored
name (e.g. "ppc") to the appropriate constant. Also, StringRefize additional Triple constructor. llvm-svn: 81274
-
Daniel Dunbar authored
mention -version in messages about missing targets. llvm-svn: 81272
-
- Sep 08, 2009
-
-
Daniel Dunbar authored
llvm-svn: 81223
-
- Sep 06, 2009
-
-
Duncan Sands authored
llvm-svn: 81127
-
Duncan Sands authored
about by icc (#593, partial). Patch by Erick Tryzelaar. llvm-svn: 81115
-
Benjamin Kramer authored
1. DUPMAX is defined in regcomp.c, no need to redefine it in regutils. 2. MSVC doesn't like snprintf, use _snprintf instead. llvm-svn: 81114
-
Benjamin Kramer authored
llvm-svn: 81108
-
Duncan Sands authored
icc (#177, partial). Patch by Erick Tryzelaar. llvm-svn: 81106
-
- Sep 03, 2009
-
-
Daniel Dunbar authored
llvm-svn: 80855
-
- Sep 01, 2009
-
-
Ted Kremenek authored
llvm-svn: 80680
-
- Aug 31, 2009
-
-
Richard Osborne authored
llvm-svn: 80629
-
- Aug 30, 2009
-
-
Daniel Dunbar authored
llvm-svn: 80515
-
Torok Edwin authored
implementation. llvm-svn: 80493
-
- Aug 25, 2009
-
-
Dan Gohman authored
This is conventional command-line tool behavior. -f now just means "enable binary output on terminals". Add a -f option to llvm-extract and llvm-link, for consistency. Remove F_Force from raw_fd_ostream and enable overwriting and truncating by default. Introduce an F_Excl flag to permit users to enable a failure when the file already exists. This flag is currently unused. Update Makefiles and documentation accordingly. llvm-svn: 79990
-