]> granicus.if.org Git - llvm/commit
Reinstantiate old/bad deduplication logic that was removed in r315279.
authorDaniel Jasper <djasper@google.com>
Thu, 12 Oct 2017 13:25:05 +0000 (13:25 +0000)
committerDaniel Jasper <djasper@google.com>
Thu, 12 Oct 2017 13:25:05 +0000 (13:25 +0000)
commita7f8fe70ae88fdd4ce4ae56b7b068ddb86f20bde
treee5b2cd95f42efc4fed36a5732712ef37455cceec
parentf41d23076e4e3046e08fb887f161975af9a1a4be
Reinstantiate old/bad deduplication logic that was removed in r315279.

While this shouldn't be necessary anymore, we have cases where we run
into the assertion below, i.e. cases with two non-fragment entries for the
same variable at different frame indices.

This should be fixed, but for now, we should revert to a version that
does not trigger asserts.

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