| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
programs that depend on native shared libraries. Patch by Timo Lindfors.
llvm-svn: 89087
|
| |
|
|
|
|
| |
StringsEqualNoCase (from StringExtras.h) to it.
llvm-svn: 87020
|
| |
|
|
|
|
|
| |
where the element is of a basic builtin type. For example, to get
an i8* use getInt8PtrTy.
llvm-svn: 83379
|
| |
|
|
|
|
| |
update the code which was broken by this.
llvm-svn: 82327
|
| |
|
|
| |
llvm-svn: 81154
|
| |
|
|
| |
llvm-svn: 80927
|
| |
|
|
| |
llvm-svn: 80534
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
member out of line. ftostr is not particularly speedy,
so that method is presumably not perf sensitive.
llvm-svn: 79885
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 79840
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
instead of as two bools. Use this to add a F_Append flag
which has the obvious behavior.
Other unrelated changes conflated into this patch:
1. REmove EH stuff from llvm-dis and llvm-as, the try blocks
are dead.
2. Simplify the filename inference code in llvm-as/llvm-dis,
because raw_fd_ostream does the right thing with '-'.
3. Switch machine verifier to use raw_ostream instead of ostream
(Which is the thing that needed append in the first place).
llvm-svn: 79807
|
| |
|
|
| |
llvm-svn: 79418
|
| |
|
|
|
|
| |
aren't available on windows (mingw defines them though).
llvm-svn: 79417
|
| |
|
|
|
|
| |
the problem.
llvm-svn: 79322
|
| |
|
|
|
|
|
|
|
| |
- This is cleaner, and makes bugpoint match the host instead of the build
architecture.
- Patch by Sandeep Patel!
llvm-svn: 79309
|
| |
|
|
| |
llvm-svn: 78948
|
| |
|
|
| |
llvm-svn: 78690
|
| |
|
|
| |
llvm-svn: 78405
|
| |
|
|
|
|
| |
contexts through a number of APIs.
llvm-svn: 78258
|
| |
|
|
|
|
|
| |
for use with sys::Path::GetMainExecutable, to avoid warnings
with -pedantic.
llvm-svn: 78245
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
just argv[0]. And remove the code for searching the current
working directory and for searching PATH; the point of FindExecutable
is not to find whatever version of the executable can be found by
searching around, but to find an executable that accompanies the
current executable.
Update the tools to use sys::Program::FindProgramByName when they
want PATH searching.
llvm-svn: 78240
|
| |
|
|
| |
llvm-svn: 78184
|
| |
|
|
|
|
| |
Patch by Sandeep Patel
llvm-svn: 78183
|
| |
|
|
|
|
|
|
| |
header, to make LLVMContextImpl.h
not hideous. Also, fix some MSVC compile errors.
llvm-svn: 78115
|
| |
|
|
|
|
|
|
| |
change back are
metadata related, which I'm waiting on to avoid conflicting with Devang.
llvm-svn: 77721
|
| |
|
|
| |
llvm-svn: 77635
|
| |
|
|
| |
llvm-svn: 77516
|
| |
|
|
| |
llvm-svn: 77494
|
| |
|
|
| |
llvm-svn: 77389
|
| |
|
|
| |
llvm-svn: 77347
|
| |
|
|
|
|
| |
to match llvm-ld's default behavior.
llvm-svn: 77273
|
| |
|
|
| |
llvm-svn: 77266
|
| |
|
|
| |
llvm-svn: 77100
|
| |
|
|
|
|
| |
thanks to contexts-on-types. More to come.
llvm-svn: 77011
|
| |
|
|
| |
llvm-svn: 76962
|
| |
|
|
| |
llvm-svn: 76702
|
| |
|
|
| |
llvm-svn: 76629
|
| |
|
|
|
|
| |
expects to find a dylib in the CWD ('.').
llvm-svn: 76432
|
| |
|
|
|
|
| |
- Sheesh.
llvm-svn: 76402
|
| |
|
|
| |
llvm-svn: 76378
|
| |
|
|
| |
llvm-svn: 76377
|
| |
|
|
|
|
| |
with 255 if an error occurred.
llvm-svn: 76323
|
| |
|
|
| |
llvm-svn: 76070
|
| |
|
|
|
|
|
|
| |
tools to using the default global context for now.
This will let us to hardwire stuff to the global context in the short term while the API is sorted out.
llvm-svn: 75846
|
| |
|
|
|
|
|
|
| |
an existing file is considered an error. Convert several tools
to use raw_fd_ostream instead of std::ostream, and to use this
new option instead of doing a manual check.
llvm-svn: 75801
|
| |
|
|
| |
llvm-svn: 75791
|
| |
|
|
|
|
| |
can do it perfectly well itself.
llvm-svn: 75743
|
| |
|
|
| |
llvm-svn: 75714
|