[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)
commit7a44782c73589fca669e04afb5e563b92a7ff4de
tree2fbd6c4246e888dab38011bfb3f9ecb4c6315309
parent3bb4aa566e1f6f468651b877937d789d1cab444e
[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.

llvm-svn: 330167
llvm/lib/IR/DebugInfo.cpp
llvm/test/DebugInfo/Generic/debuginfofinder-imported-global-variable.ll [new file with mode: 0644]