Remove the nasty LABEL hack with a much less evil one. Now llvm.dbg.func.start implie...
authorEvan Cheng <evan.cheng@apple.com>
Fri, 1 Feb 2008 09:10:45 +0000 (09:10 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 1 Feb 2008 09:10:45 +0000 (09:10 +0000)
commit1b08bbca5592351a940bcd164bdec724ee954326
treef11d5f22e3bcdf9bd067d3e90ba002e1e2557c42
parenta647c92ec2b3c91e1e6de25cc5c7860912c7626b
Remove the nasty LABEL hack with a much less evil one. Now llvm.dbg.func.start implies a stoppoint is set. SelectionDAGISel records a new source line but does not create a ISD::LABEL node for this special stoppoint. Asm printer will magically print this label. This ensures nothing is emitted before.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46635 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/AsmPrinter.h
lib/CodeGen/AsmPrinter.cpp
lib/CodeGen/DwarfWriter.cpp
lib/CodeGen/PrologEpilogInserter.cpp
lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
lib/Target/PowerPC/PPCRegisterInfo.cpp
lib/Target/X86/X86RegisterInfo.cpp