llvm-project/llvm/lib
Rafael Espindola 642a22165a Use the ability to pwrite to simplify the ELF writer.
Now we don't have to do 2 synchronized passes to compute offsets and then
write the file.

This also includes a fix for the corner case of seeking in /dev/null. It
is not an error, but on some systems (Linux) the returned offset is
always 0. An error is signaled by returning -1. This is checked by
the existing tests now that "clang -o /dev/null ..." seeks.

llvm-svn: 234952
2015-04-14 22:54:16 +00:00
..
Analysis [Inliner] Don't inline functions with frameescape calls 2015-04-14 20:38:14 +00:00
AsmParser Remove empty non-virtual destructors or mark them =default when non-public 2015-04-11 15:32:26 +00:00
Bitcode Error out of ParseBitcodeInto(Module*) if we haven't read a Module 2015-04-14 14:07:15 +00:00
CodeGen Use raw_pwrite_stream in the object writer/streamer. 2015-04-14 22:14:34 +00:00
DebugInfo Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00
ExecutionEngine [RuntimeDyld] Make SectionEntry's Name field a std::string. 2015-04-14 17:13:10 +00:00
Fuzzer Removing a spurious space; NFC. 2015-04-06 16:09:13 +00:00
IR IR: Set -preserve-bc-uselistorder=false by default 2015-04-14 18:33:00 +00:00
IRReader Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
LTO Use raw_pwrite_stream in the object writer/streamer. 2015-04-14 22:14:34 +00:00
LineEditor Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
Linker DebugInfo: Gut DISubprogram and DILexicalBlock* 2015-04-14 03:40:37 +00:00
MC Use the ability to pwrite to simplify the ELF writer. 2015-04-14 22:54:16 +00:00
Object Remove more superfluous .str() and replace std::string concatenation with Twine. 2015-03-30 15:42:36 +00:00
Option Remove more superfluous .str() and replace std::string concatenation with Twine. 2015-03-30 15:42:36 +00:00
Passes [PM] Fixup for r231556 where I missed a dependency on intrinsics 2015-03-07 09:08:20 +00:00
ProfileData Re-sort includes with sort-includes.py and insert raw_ostream.h where it's used. 2015-03-23 19:32:43 +00:00
Support Use the ability to pwrite to simplify the ELF writer. 2015-04-14 22:54:16 +00:00
TableGen Remove empty non-virtual destructors or mark them =default when non-public 2015-04-11 15:32:26 +00:00
Target Use raw_pwrite_stream in the object writer/streamer. 2015-04-14 22:14:34 +00:00
Transforms Simplify n-ary adds by reassociation 2015-04-14 04:59:22 +00:00
CMakeLists.txt [PM] Create a separate library for high-level pass management code. 2015-03-07 09:02:36 +00:00
LLVMBuild.txt [PM] Create a separate library for high-level pass management code. 2015-03-07 09:02:36 +00:00
Makefile [PM] Create a separate library for high-level pass management code. 2015-03-07 09:02:36 +00:00