llvm-mirror/tools
Daniel Dunbar 7e81ff0f87 llvm-mc: Start MCAssembler and MCMachOStreamer.
- Together these form the (Mach-O) back end of the assembler.

 - MCAssembler is the actual assembler backend, which is designed to have a
   reasonable API. This will eventually grow to support multiple object file
   implementations, but for now its Mach-O/i386 only.

 - MCMachOStreamer adapts the MCStreamer "actions" API to the MCAssembler API,
   e.g. converting the various directives into fragments, managing state like
   the current section, and so on.

 - llvm-mc will use the new backend via '-filetype=obj', which may eventually
   be, but is not yet, since I hear that people like assemblers which actually
   assemble.

 - The only thing that works at the moment is changing sections. For the time
   being I have a Python Mach-O dumping tool in test/scripts so this stuff can
   be easily tested, eventually I expect to replace this with a real LLVM tool.

 - More doxyments to come.

I assume that since this stuff doesn't touch any of the things which are part of
2.6 that it is ok to put this in not so long before the freeze, but if someone
objects let me know, I can pull it.

llvm-svn: 79612
2009-08-21 09:11:24 +00:00
..
bugpoint Proper MSVC build fix (and remove my hack again). Patch by Yonggang Luo. 2009-08-19 12:38:51 +00:00
gccas remove attributions 2007-12-29 20:46:15 +00:00
gccld remove attributions 2007-12-29 20:46:15 +00:00
gold Add a Force option to raw_fd_ostream to specify whether opening 2009-07-15 17:29:42 +00:00
llc No really, it's unused. 2009-08-04 04:08:40 +00:00
lli Push LLVMContexts through the IntegerType APIs. 2009-08-13 21:58:54 +00:00
llvm-ar To simplify the upcoming context-on-type change, switch all command line tools to using the default global context for now. 2009-07-15 22:16:10 +00:00
llvm-as Convert more tools code from cerr and cout to errs() and outs(). 2009-07-16 15:30:09 +00:00
llvm-bcanalyzer Handle NamedMDNode. 2009-07-30 23:03:19 +00:00
llvm-config CMake: Automatic regeneration of the library dependencies file. 2009-08-14 16:59:41 +00:00
llvm-db Make LLVMContext and LLVMContextImpl classes instead of structs. 2009-08-11 17:45:13 +00:00
llvm-dis Convert more tools code from cerr and cout to errs() and outs(). 2009-07-16 15:30:09 +00:00
llvm-extract "-" should write to stdout, not stderr. 2009-08-18 04:03:24 +00:00
llvm-ld Use (void *)(intptr_t) to cast function addresses to void* 2009-08-05 21:03:39 +00:00
llvm-link Convert more tools code from cerr and cout to errs() and outs(). 2009-07-16 15:30:09 +00:00
llvm-mc llvm-mc: Start MCAssembler and MCMachOStreamer. 2009-08-21 09:11:24 +00:00
llvm-nm Add plumbing for the `linker_private' linkage type. This type is meant for 2009-07-20 01:03:30 +00:00
llvm-prof Update llvm-prof for ProfileInfo API changes. 2009-08-13 01:55:43 +00:00
llvm-ranlib To simplify the upcoming context-on-type change, switch all command line tools to using the default global context for now. 2009-07-15 22:16:10 +00:00
llvm-stub Silence MSVC warning. 2009-08-11 11:01:19 +00:00
llvmc This void is implicit in C++. 2009-08-12 22:10:57 +00:00
lto The attached patches attempt to fix cross builds. For example, if you 2009-08-18 00:40:33 +00:00
opt Switch some clients to Value::getName(), and other getName() user 2009-07-22 21:33:09 +00:00
CMakeLists.txt CMake: Discriminate MINGW, MSYS, CYGWIN: does not try to build llvm-config under mingw without msys. 2009-08-16 20:50:41 +00:00
Makefile The attached patches attempt to fix cross builds. For example, if you 2009-08-18 00:40:33 +00:00