llvm-mirror/tools/llvm-mc
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
..
AsmCond.h Always initialize AsmConds. 2009-08-08 11:26:50 +00:00
AsmExpr.cpp llvm-mc: Fix a crash on invalid due to a typo in relocatable expression 2009-08-11 17:47:52 +00:00
AsmExpr.h llvm-mc: Add some more doxyments. 2009-07-01 15:14:50 +00:00
AsmLexer.cpp llvm-mc: Move MCAsmToken::getLoc() into MC library where it belongs. 2009-08-14 02:18:40 +00:00
AsmLexer.h Make the big switch: Change MCSectionMachO to represent a section *semantically* 2009-08-10 01:39:42 +00:00
AsmParser.cpp llvm-mc: Various section parsing fixes. 2009-08-21 08:34:18 +00:00
AsmParser.h llvm-mc: Various section parsing fixes. 2009-08-21 08:34:18 +00:00
CMakeLists.txt Update CMakeLists 2009-07-28 22:46:39 +00:00
llvm-mc.cpp llvm-mc: Start MCAssembler and MCMachOStreamer. 2009-08-21 09:11:24 +00:00
Makefile Don't install llvm-mc by default. 2009-08-21 07:28:33 +00:00