summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore
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
commit4cc3bcd57527bb531caa23a3f3c84bef07128163 (patch)
treed077a3a4705ee0fb64936c771a7f5136cc2b17e7 /llvm/lib/VMCore
parent8f29491ffd0e7393580c5b11869fc9666c895f71 (diff)
downloadbcm5719-llvm-4cc3bcd57527bb531caa23a3f3c84bef07128163.tar.gz
bcm5719-llvm-4cc3bcd57527bb531caa23a3f3c84bef07128163.zip
DebugLoc's don't hide any interesting types for TypeFinder to find.
llvm-svn: 135174
Diffstat (limited to 'llvm/lib/VMCore')
-rw-r--r--llvm/lib/VMCore/Module.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/Module.cpp b/llvm/lib/VMCore/Module.cpp
index 8a738cbac5c..be2fcb8ac6c 100644
--- a/llvm/lib/VMCore/Module.cpp
+++ b/llvm/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();
OpenPOWER on IntegriCloud