Prune #includes from llvm/Linker.h and llvm/System/Path.h,
authorChris Lattner <sabre@nondot.org>
Sun, 23 Aug 2009 22:45:37 +0000 (22:45 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 23 Aug 2009 22:45:37 +0000 (22:45 +0000)
commit74382b7c699120fbec5cb5603c9cf4212eb37f06
treec8c2c5b8879b256c428b0d35841b9cce1c2cc51c
parent983c592272eb59d39fd78c515e1f2701638879e0
Prune #includes from llvm/Linker.h and llvm/System/Path.h,
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79869 91177308-0d34-0410-b5e6-96231b3b80d8
39 files changed:
include/llvm/Debugger/SourceFile.h
include/llvm/Linker.h
include/llvm/Support/GraphWriter.h
include/llvm/System/Path.h
include/llvm/System/TimeValue.h
lib/Archive/Archive.cpp
lib/Archive/ArchiveReader.cpp
lib/Archive/ArchiveWriter.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/Debugger/ProgramInfo.cpp
lib/Linker/LinkArchives.cpp
lib/Linker/LinkItems.cpp
lib/Linker/LinkModules.cpp
lib/Linker/Linker.cpp
lib/Support/GraphWriter.cpp
lib/Support/SystemUtils.cpp
lib/System/Path.cpp
lib/System/Unix/Path.inc
lib/System/Unix/Program.inc
lib/System/Unix/TimeValue.inc
lib/System/Win32/Path.inc
lib/System/Win32/Program.inc
lib/System/Win32/TimeValue.inc
tools/bugpoint/CrashDebugger.cpp
tools/bugpoint/ExecutionDriver.cpp
tools/bugpoint/ExtractFunction.cpp
tools/bugpoint/FindBugs.cpp
tools/bugpoint/Miscompilation.cpp
tools/bugpoint/OptimizerDriver.cpp
tools/bugpoint/ToolRunner.cpp
tools/lli/lli.cpp
tools/llvm-ar/llvm-ar.cpp
tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp
tools/llvm-db/Commands.cpp
tools/llvm-db/llvm-db.cpp
tools/llvm-ld/llvm-ld.cpp
tools/llvm-link/llvm-link.cpp
tools/lto/LTOCodeGenerator.cpp
utils/TableGen/LLVMCConfigurationEmitter.cpp