[Bug 36556] New: Module::FindTypes ignores the exact flag in some circumstances

Bug ID 36556
Summary Module::FindTypes ignores the exact flag in some circumstances
Product lldb
Version unspecified
Hardware PC
OS All
Status NEW
Severity enhancement
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter jingham@apple.com
CC llvm-bugs@lists.llvm.org

By code inspection, Module::FindTypes ignores the exact flag if the type class
is Any and the name you pass in doesn't start with a ::.  I don't know how
widely this is used - it broke finding dynamic types for C++ if you have two
classes with the same base name.  I have a local fix for that which didn't
involve changing the behavior of FindTypes.  I also don't know whether there
are other uses that rely on this misbehavior.