If the front end has emitted llvm.dbg.cu and other debug info anchors (clang does...
authorDevang Patel <dpatel@apple.com>
Tue, 3 May 2011 16:45:22 +0000 (16:45 +0000)
committerDevang Patel <dpatel@apple.com>
Tue, 3 May 2011 16:45:22 +0000 (16:45 +0000)
commit30692abac7da49376b7d3b33d74612893d72f547
tree84a7764c2a94da9f4f535c1ccc6b899fcd2643b5
parent464f4ef2bdb47a44ffa2c4208296da641db7358d
If the front end has emitted llvm.dbg.cu and other debug info anchors (clang does it now) then use them directly. This saves one scan of entire module, to collect debug info, which in turns saves few machine cycles at compile time.

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