OSDN Git Service

[DebugInfo] Follow-up bug fix on "Fixing a couple of DI duplication bugs of CloneModule"
authorRoman Tereshin <rtereshin@apple.com>
Mon, 16 Apr 2018 23:39:44 +0000 (23:39 +0000)
committerRoman Tereshin <rtereshin@apple.com>
Mon, 16 Apr 2018 23:39:44 +0000 (23:39 +0000)
commit622b1d62efb88fc2776596fc847b2b0c8d6a4286
treeb524aefd851df0dc9b4e3a05790f53ab65291240
parent603f108077e421e2874d652e9eaa0a4557839390
[DebugInfo] Follow-up bug fix on "Fixing a couple of DI duplication bugs of CloneModule"

Apparently, DebugInfoFinder::processCompileUnit doesn't process all
of the possible kinds of DIImportedEntit'ies, e.g. DIGlobalVariable's.

Previously introduced `llvm_unreachable` is therefore incorrect.
Removing it here.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@330167 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/DebugInfo.cpp
test/DebugInfo/Generic/debuginfofinder-imported-global-variable.ll [new file with mode: 0644]