author | Eric Christopher <echristo@gmail.com> | |
Thu, 27 Feb 2014 07:44:45 +0000 (07:44 +0000) | ||
committer | Eric Christopher <echristo@gmail.com> | |
Thu, 27 Feb 2014 07:44:45 +0000 (07:44 +0000) | ||
commit | 1348dc097d65dd3eb59046c933496cc7bc72e556 | |
tree | 03e4ad9bbdbca91728058ecb40e6a00ad85f7256 | tree | snapshot (tar.xz tar.gz zip) |
parent | 1c30a35b0f3561c9a81057a2305a6d7155413f10 | commit | diff |
Don't emit anything into the debug_ranges section if we aren't emitting
any ranges - this includes CU ranges where we were previously emitting an
end list marker even if we didn't have a list.
Testcase includes a test for line table only code emission as the problem
was noticed while writing this test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202357 91177308-0d34-0410-b5e6-96231b3b80d8
any ranges - this includes CU ranges where we were previously emitting an
end list marker even if we didn't have a list.
Testcase includes a test for line table only code emission as the problem
was noticed while writing this test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202357 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp | diff | blob | history | |
test/DebugInfo/cu-line-tables.ll | [new file with mode: 0644] | blob |