From: Chris Lattner Date: Thu, 14 Jul 2011 18:58:40 +0000 (+0000) Subject: DebugLoc's don't hide any interesting types for TypeFinder to find. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=939f616e635e6d94ccf4baaf18682466e9a06d6d;p=oota-llvm.git DebugLoc's don't hide any interesting types for TypeFinder to find. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135174 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/VMCore/Module.cpp b/lib/VMCore/Module.cpp index 8a738cbac5c..be2fcb8ac6c 100644 --- a/lib/VMCore/Module.cpp +++ b/lib/VMCore/Module.cpp @@ -478,7 +478,7 @@ namespace { incorporateValue(*OI); // Incorporate types hiding in metadata. - I.getAllMetadata(MDForInst); + I.getAllMetadataOtherThanDebugLoc(MDForInst); for (unsigned i = 0, e = MDForInst.size(); i != e; ++i) incorporateMDNode(MDForInst[i].second); MDForInst.clear();