llvm/lib/Support
Dan Gohman ec080467f5 Fix llvm-extract's "writing bitcode to a terminal" warning, which wasn't
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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81568 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-11 20:46:33 +00:00
..
Allocator.cpp Make sure the memory range is writable before memset'ing it. 2009-09-09 01:45:24 +00:00
APFloat.cpp Fix typo. 2009-08-21 23:09:47 +00:00
APInt.cpp Remove some unused variables and methods warned about by 2009-09-06 08:33:48 +00:00
APSInt.cpp
CMakeLists.txt Update CMake files. 2009-09-01 17:01:02 +00:00
CommandLine.cpp Show derived host triple in --version. 2009-09-02 23:52:38 +00:00
ConstantRange.cpp Change Pass::print to take a raw ostream instead of std::ostream, 2009-08-23 06:03:38 +00:00
COPYRIGHT.regex Add regular expression matching support, based on OpenBSD regexec()/regcomp() 2009-08-30 08:24:09 +00:00
Debug.cpp Fix some refactos for iostream changes (in -Asserts mode). 2009-08-23 08:50:52 +00:00
Dwarf.cpp llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. 2009-07-14 16:55:14 +00:00
ErrorHandling.cpp Add a comment explaining why llvm_unreachable_internal doesn't call 2009-08-20 17:15:19 +00:00
FileUtilities.cpp
FoldingSet.cpp llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. 2009-07-14 16:55:14 +00:00
FormattedStream.cpp switch formattedstream to use raw_ostream::indent. This eliminates 2009-08-22 23:16:09 +00:00
GraphWriter.cpp Unbreak the build for HAVE_GV platforms. 2009-08-24 03:23:12 +00:00
IsInf.cpp
IsNAN.cpp
Makefile
ManagedStatic.cpp Split the thread-related APIs out into their own file, and add a few more 2009-06-16 17:33:51 +00:00
MemoryBuffer.cpp
MemoryObject.cpp canonicalize namespace gymnastics 2009-09-09 23:46:42 +00:00
PluginLoader.cpp remove some uses of llvm/Support/Streams.h 2009-08-23 08:43:55 +00:00
PrettyStackTrace.cpp Switch to SmallString::str from SmallString::c_str, and remove 2009-08-19 20:07:03 +00:00
raw_os_ostream.cpp split raw_os_ostream out to its own header and implementation file. This 2009-08-24 04:02:06 +00:00
raw_ostream.cpp Fix llvm-extract's "writing bitcode to a terminal" warning, which wasn't 2009-09-11 20:46:33 +00:00
regcclass.h Add regular expression matching support, based on OpenBSD regexec()/regcomp() 2009-08-30 08:24:09 +00:00
regcname.h Add regular expression matching support, based on OpenBSD regexec()/regcomp() 2009-08-30 08:24:09 +00:00
regcomp.c Fix may-be-used-uninitialized warning. 2009-09-08 16:14:54 +00:00
regengine.inc Avoid warnings if assertions are off. 2009-09-06 19:28:38 +00:00
regerror.c More MSVC warning fixes: 2009-09-06 12:26:28 +00:00
regex2.h Add regular expression matching support, based on OpenBSD regexec()/regcomp() 2009-08-30 08:24:09 +00:00
regex_impl.h Add regular expression matching support, based on OpenBSD regexec()/regcomp() 2009-08-30 08:24:09 +00:00
Regex.cpp Add regular expression matching support, based on OpenBSD regexec()/regcomp() 2009-08-30 08:24:09 +00:00
regexec.c Add regular expression matching support, based on OpenBSD regexec()/regcomp() 2009-08-30 08:24:09 +00:00
regfree.c Add regular expression matching support, based on OpenBSD regexec()/regcomp() 2009-08-30 08:24:09 +00:00
regstrlcpy.c Add regular expression matching support, based on OpenBSD regexec()/regcomp() 2009-08-30 08:24:09 +00:00
regutils.h More MSVC warning fixes: 2009-09-06 12:26:28 +00:00
SlowOperationInformer.cpp remove some uses of llvm/Support/Streams.h 2009-08-23 08:43:55 +00:00
SmallPtrSet.cpp
SourceMgr.cpp add a trivial line # cache to SourceMgr to make repeated queries to 2009-08-11 17:49:14 +00:00
Statistic.cpp remove some uses of llvm/Support/Streams.h 2009-08-23 08:43:55 +00:00
StringExtras.cpp
StringMap.cpp Convert StringMap to using StringRef for its APIs. 2009-07-23 18:17:34 +00:00
StringPool.cpp Kill off more cerr/cout uses and prune includes a bit. 2009-08-23 11:37:21 +00:00
SystemUtils.cpp Fix llvm-extract's "writing bitcode to a terminal" warning, which wasn't 2009-09-11 20:46:33 +00:00
TargetRegistry.cpp Improve JIT error message for users crazy enough to use -march with JIT, and 2009-09-08 23:32:35 +00:00
Timer.cpp remove some uses of llvm/Support/Streams.h 2009-08-23 08:43:55 +00:00
Triple.cpp Add comment re: clang dependency. 2009-09-09 23:01:25 +00:00
Twine.cpp Switch Twine::str() to use toVector(), which is now efficient. 2009-08-19 18:09:47 +00:00