From 939f616e635e6d94ccf4baaf18682466e9a06d6d Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 14 Jul 2011 18:58:40 +0000 Subject: [PATCH] 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 --- lib/VMCore/Module.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.11.0