]> granicus.if.org Git - llvm/commit
Merging r276956:
authorHans Wennborg <hans@hanshq.net>
Thu, 28 Jul 2016 23:15:39 +0000 (23:15 +0000)
committerHans Wennborg <hans@hanshq.net>
Thu, 28 Jul 2016 23:15:39 +0000 (23:15 +0000)
commit83c76e2427a852334afd0e9f709c4a5a4f6db01b
treecb083befcf66e0c405b6931a563f349268c328d2
parent7653e62294ae87320d774a64a5fbe99b663d2056
Merging r276956:
------------------------------------------------------------------------
r276956 | majnemer | 2016-07-27 22:03:22 -0700 (Wed, 27 Jul 2016) | 6 lines

[CodeView] Don't crash on functions without subprograms

A function may have instructions annotated with debug info without
having a subprogram.

This fixes PR28747.
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_39@277078 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
test/DebugInfo/COFF/inlining-same-name.ll
test/DebugInfo/COFF/pr28747.ll [new file with mode: 0644]