]> granicus.if.org Git - llvm/commit
Let subprograms with instructions without parent scopes fail the
authorAdrian Prantl <aprantl@apple.com>
Wed, 21 Jan 2015 18:32:56 +0000 (18:32 +0000)
committerAdrian Prantl <aprantl@apple.com>
Wed, 21 Jan 2015 18:32:56 +0000 (18:32 +0000)
commit9dc47c0c4a41e353d8f398df1848cddea37c2d59
tree17198a5db5606db5fb6391c6e72124f242a18508
parent305228cc0b67d80e942760844ec42bbb75af5fb7
Let subprograms with instructions without parent scopes fail the
verification. Tested via a unit test.

Follow-up to r226616.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226684 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/DebugInfo.cpp
unittests/IR/IRBuilderTest.cpp