Debug Info Verifier: enable public functions of Finder to update the type map.
authorManman Ren <manman.ren@gmail.com>
Sun, 17 Nov 2013 18:42:37 +0000 (18:42 +0000)
committerManman Ren <manman.ren@gmail.com>
Sun, 17 Nov 2013 18:42:37 +0000 (18:42 +0000)
commit2b31b8227fb5507c26a8c4724574fc87fb90f482
tree75287f174692aad37b0a2511e2ace212855bbb01
parent80ccd9ea59b8911f12836da98aceedce4ebc6a6f
Debug Info Verifier: enable public functions of Finder to update the type map.

We used to depend on running processModule before the other public functions
such as processDeclare, processValue and processLocation. We are now relaxing
the constraint by adding a module argument to the three functions and
letting the three functions to initialize the type map. This will be used in
a follow-on patch that collects nodes reachable from a Function.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194973 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/DebugInfo.h
lib/IR/DebugInfo.cpp
lib/IR/Verifier.cpp