Refactor code to push DILocation prcessing into DwarfDebug.cpp from AsmPrinter.cpp.
authorDevang Patel <dpatel@apple.com>
Mon, 29 Mar 2010 17:20:31 +0000 (17:20 +0000)
committerDevang Patel <dpatel@apple.com>
Mon, 29 Mar 2010 17:20:31 +0000 (17:20 +0000)
commit553881bddcdeb66c0ae06bf9f62ca63b9f29b2e8
treed789cfac5cc11cfa65ee08492abe054b03e9774b
parentf283e40b6a48368a1713bddbb8556797bfec130b
Refactor code to push DILocation prcessing into DwarfDebug.cpp from AsmPrinter.cpp.
This is same as r99772 (which was reverted) with just one meaningful difference where two source lines exchanged their positions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99816 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/AsmPrinter.h
include/llvm/CodeGen/DwarfWriter.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.h
lib/CodeGen/AsmPrinter/DwarfWriter.cpp