| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
| |
maintain the "null is unspecified, empty is empty" semantics.
llvm-svn: 82351
|
| |
|
|
|
|
|
|
| |
temporary std::strings.
This requires StringRef'izing ProvideOption which I also did.
llvm-svn: 82350
|
| |
|
|
| |
llvm-svn: 82348
|
| |
|
|
|
|
| |
find_first_of/find_first_of methods.
llvm-svn: 82347
|
| |
|
|
| |
llvm-svn: 82346
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
a std::vector and a bunch of std::string temporaries.
llvm-svn: 82341
|
| |
|
|
| |
llvm-svn: 82339
|
| |
|
|
|
|
| |
common and useful integer types.
llvm-svn: 82338
|
| |
|
|
| |
llvm-svn: 82322
|
| |
|
|
|
|
|
| |
a massive number of temporary strings created when parsing a command line.
More still left to eliminate.
llvm-svn: 82318
|
| |
|
|
|
|
|
|
| |
- 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
|
| |
|
|
| |
llvm-svn: 82110
|
| |
|
|
| |
llvm-svn: 82087
|
| |
|
|
|
|
|
| |
- As best I can tell, we have eliminated all the code which used to require a
larger buffer size.
llvm-svn: 81912
|
| |
|
|
| |
llvm-svn: 81577
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 81402
|
| |
|
|
| |
llvm-svn: 81393
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 81308
|
| |
|
|
|
|
|
|
| |
name (e.g. "ppc") to the appropriate constant.
Also, StringRefize additional Triple constructor.
llvm-svn: 81274
|
| |
|
|
|
|
| |
mention -version in messages about missing targets.
llvm-svn: 81272
|
| |
|
|
| |
llvm-svn: 81223
|
| |
|
|
| |
llvm-svn: 81127
|
| |
|
|
|
|
| |
about by icc (#593, partial). Patch by Erick Tryzelaar.
llvm-svn: 81115
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 81108
|
| |
|
|
|
|
| |
icc (#177, partial). Patch by Erick Tryzelaar.
llvm-svn: 81106
|
| |
|
|
| |
llvm-svn: 80855
|
| |
|
|
| |
llvm-svn: 80680
|
| |
|
|
| |
llvm-svn: 80629
|
| |
|
|
| |
llvm-svn: 80515
|
| |
|
|
|
|
| |
implementation.
llvm-svn: 80493
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 79959
|
| |
|
|
|
|
| |
identifier architecture.
llvm-svn: 79906
|
| |
|
|
| |
llvm-svn: 79894
|
| |
|
|
|
|
| |
than 16 spaces. Make the Spaces array wide enough to handle common cases.
llvm-svn: 79890
|
| |
|
|
|
|
|
| |
means that raw_ostream no longer has to #include <iosfwd>. Nothing in llvm
should use raw_os_ostream.h, but llvm-gcc and some unit tests do.
llvm-svn: 79886
|
| |
|
|
|
|
|
| |
member out of line. ftostr is not particularly speedy,
so that method is presumably not perf sensitive.
llvm-svn: 79885
|
| |
|
|
| |
llvm-svn: 79883
|
| |
|
|
| |
llvm-svn: 79876
|
| |
|
|
| |
llvm-svn: 79875
|
| |
|
|
|
|
|
|
| |
(HAVE_GV && (HAVE_DOT || HAVE_FDP || HAVE_NEATO || \
HAVE_TWOPI || HAVE_CIRCO))
are true.
llvm-svn: 79872
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
forcing them down into various .cpp files.
This change also:
1. Renames TimeValue::toString() and Path::toString() to ::str()
for similarity with the STL.
2. Removes all stream insertion support for sys::Path, forcing
clients to call .str().
3. Removes a use of Config/alloca.h from bugpoint, using smallvector
instead.
4. Weans llvm-db off <iostream>
sys::Path really needs to be gutted, but I don't have the desire to
do it at this point.
llvm-svn: 79869
|
| |
|
|
| |
llvm-svn: 79865
|
| |
|
|
|
|
|
| |
change the raw_ostream one to take the raw_ostream byref instead
of byptr. Prune #includes, eliminate a use of Streams.h
llvm-svn: 79863
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- This also shortens the Format.h implementation, and uses the print buffer
fully (it was wasting a character).
- This manifested as llvm-test failures, because one side effect was that
raw_ostream would write garbage '\x00' values into the output stream if it
happened that the string was at the end of the buffer. This meant that grep
would report 'Binary file matches', which meant the silly pattern matching
llvm-test eventually does would fail. Cute. :)
llvm-svn: 79862
|
| |
|
|
| |
llvm-svn: 79857
|