summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/TargetLoweringObjectFile.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-08-21 09:11:24 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-08-21 09:11:24 +0000
commit3016db39dd022c9cecba8f2eb0f63871664c5240 (patch)
treefa0fa8dbbb58e55848a563d2bf8f7ef3e9bf28f2 /llvm/lib/Target/TargetLoweringObjectFile.cpp
parent9df5f33818ab090b69a3ae1aa74e83d3baffc50b (diff)
downloadbcm5719-llvm-3016db39dd022c9cecba8f2eb0f63871664c5240.tar.gz
bcm5719-llvm-3016db39dd022c9cecba8f2eb0f63871664c5240.zip
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
Diffstat (limited to 'llvm/lib/Target/TargetLoweringObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud