This is the second of three patches to implement support for the .loc directive
authorKevin Enderby <enderby@apple.com>
Tue, 31 Aug 2010 22:55:11 +0000 (22:55 +0000)
committerKevin Enderby <enderby@apple.com>
Tue, 31 Aug 2010 22:55:11 +0000 (22:55 +0000)
commit232ab949d5ed04c4ab45c763e0597fc3fc3fa5bc
tree7f3123d779db548a2c6c6f3eb3d323e04a021f6f
parent3f19c091bf9cfe717e14b8a1967085ba84db3877
This is the second of three patches to implement support for the .loc directive
and output the dwarf line number tables.  This takes the current loc info after
an instruction is assembled and saves the needed info into an object that has
vector and for each section.  These objects will be used for the final patch to
build and emit the encoded dwarf line number tables.  Again for now this is only
in the Mach-O streamer but at some point will move to a more generic place.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112668 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCContext.h
include/llvm/MC/MCDwarf.h
lib/MC/MCContext.cpp
lib/MC/MCMachOStreamer.cpp