Attempt to recover gdb bot after r174445.
authorManman Ren <mren@apple.com>
Wed, 6 Feb 2013 00:59:41 +0000 (00:59 +0000)
committerManman Ren <mren@apple.com>
Wed, 6 Feb 2013 00:59:41 +0000 (00:59 +0000)
commit9c5861fdbd5e30df55cb7cd9a0edda8d92494100
tree6d2a82a2e469056c4350a55c1081575c597bb99a
parentba42625074aa7f4f1324a5d6666bd0e302b57f2b
Attempt to recover gdb bot after r174445.

Failure: undefined symbol 'Lline_table_start0'.
Root-cause: we use a symbol subtraction to calculate at_stmt_list, but
the line table entries are not dumped in the assembly.
Fix: use zero instead of a symbol subtraction for Compile Unit 0.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174479 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
test/CodeGen/ARM/2011-01-19-MergedGlobalDbg.ll
test/CodeGen/ARM/2011-08-02-MergedGlobalDbg.ll
test/CodeGen/X86/2011-01-24-DbgValue-Before-Use.ll
test/CodeGen/X86/dbg-value-location.ll
test/DebugInfo/X86/stringpool.ll