summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-07-14 18:58:40 +0000
committerChris Lattner <sabre@nondot.org>2011-07-14 18:58:40 +0000
commit939f616e635e6d94ccf4baaf18682466e9a06d6d (patch)
treec9d6ad7c88fb0b865022062d3e862930b2b88534 /lib
parent4baa510f48000308251a0d7c6be491d11c20d30b (diff)
downloadllvm-939f616e635e6d94ccf4baaf18682466e9a06d6d.tar.gz
llvm-939f616e635e6d94ccf4baaf18682466e9a06d6d.tar.bz2
llvm-939f616e635e6d94ccf4baaf18682466e9a06d6d.tar.xz
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
Diffstat (limited to 'lib')
-rw-r--r--lib/VMCore/Module.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Module.cpp b/lib/VMCore/Module.cpp
index 8a738cbac5..be2fcb8ac6 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();