aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ELFObjectFile.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2011-10-13 21:08:11 +0000
committerSean Callanan <scallanan@apple.com>2011-10-13 21:08:11 +0000
commitc41e68b127d3f2faa8c582ac2f3b829d47e9909b (patch)
treef8aabd62e42e49a21e5946f06635dd56198ee505 /llvm/lib/Object/ELFObjectFile.cpp
parent74a1f91ff734e23689e39bf7cac70894a9346382 (diff)
downloadllvm-c41e68b127d3f2faa8c582ac2f3b829d47e9909b.zip
llvm-c41e68b127d3f2faa8c582ac2f3b829d47e9909b.tar.gz
llvm-c41e68b127d3f2faa8c582ac2f3b829d47e9909b.tar.bz2
Moved the list of found namespaces into the search
context object. Having it populated and registered within a single FindExternalVisibleDecls call worked fine when there was only one call (i.e., when we were just looking in the global namespace). However, now FindExternalVisibleDecls is called for nested namespaces as well, which means that it is called not once but many times (once per module in which the parent namespace appears). This means that the namespace mapping is built up across many calls to the inferior FindExternalVisibleDecls, so I moved it into a data structure (the search context) that is shared by all calls. I also added some logging to make it easier to see what is happening during a namespace search, and cleaned up some existing logging. llvm-svn: 141888
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions