Change CodeGen to use .loc directives. This produces a lot more readable output
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 18 Nov 2010 02:04:25 +0000 (02:04 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 18 Nov 2010 02:04:25 +0000 (02:04 +0000)
commit5c0556341e29246e697c73844a5f9b1e14474715
tree1373de8b2647e82c998640e6805748edf4a7306c
parent5c71c7a13715ed6f5bfdd5497172ddec316b68b0
Change CodeGen to use .loc directives. This produces a lot more readable output
and testing is easier.  A good example is the unknown-location.ll test that
now can just look for ".loc 1 0 0".  We also don't use a DW_LNE_set_address for
every address change anymore.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119613 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCAsmInfo.h
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.h
lib/MC/MCAsmInfo.cpp
lib/Target/CellSPU/SPUMCAsmInfo.cpp
test/CodeGen/X86/unknown-location.ll
test/DebugInfo/2010-09-16-EmptyFilename.ll