llvm-6502/lib/MC/MCParser
Kevin Enderby c095793b4a This is the last major patch to implement support for the .loc directive
and output the dwarf line number tables.  This contains the code to emit and
encode the dwarf line tables from the previously gathered information in the
MCLineSection objects.  This contains all the details to encode the line and
address deltas into the dwarf line table.

To do this an MCDwarfLineAddrFragment has been added.

Also this moves the interface code out of Mach-O streamer into
MCDwarf so it should be useable by other object file formats.

There is now one call to be made from an MCObjectStreamer
EmitInstruction() method:
   MCLineEntry::Make(this, getCurrentSection());
to create a line entry after each instruction is assembled.

And one call call to be made from an MCObjectStreamer Finish() method:
   MCDwarfFileTable::Emit(this, DwarfLineSection);
when getContext().hasDwarfFiles() is true and is passed a object file specific
MCSection where to emit the dwarf file and the line tables.

This appears to now be correct for 32-bit targets, at least x86.  But the
relocation entries for 64-bit Darwin needs some further work which is next
up to work on.  So for now the 64-bit Mach-O target does not output the
dwarf file and line tables.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115157 91177308-0d34-0410-b5e6-96231b3b80d8
2010-09-30 16:52:03 +00:00
..
AsmLexer.cpp MC/AsmParser: Handle exponents in floating point literals. 2010-09-27 20:12:52 +00:00
AsmParser.cpp This is the last major patch to implement support for the .loc directive 2010-09-30 16:52:03 +00:00
CMakeLists.txt MC/AsmParser: Move ELF specific parser to ELFAsmParser.cpp. 2010-07-12 21:23:32 +00:00
DarwinAsmParser.cpp MC/AsmParser: Stop playing unsafe member function pointer calls, this isn't 2010-07-18 22:22:07 +00:00
ELFAsmParser.cpp Have ELFAsmParser.cpp use the already parsed "Size" (entry size) when 2010-09-30 02:41:46 +00:00
Makefile make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00
MCAsmLexer.cpp MC: Move getLoc() to MCAsmLexer(). 2010-07-12 17:10:00 +00:00
MCAsmParser.cpp llvm-mc: Add -show-inst-operands, for dumping the parsed instruction representation before matching. 2010-08-11 06:37:09 +00:00
MCAsmParserExtension.cpp MC: Add MCAsmParserExtension, a base class for all the target/object specific 2010-07-12 17:27:45 +00:00
TargetAsmParser.cpp TblGen/AsmMatcher: Add support for honoring instruction Requires<[]> attributes as part of the matcher. 2010-07-19 05:44:09 +00:00