summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/Module.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2019-01-14 22:05:12 +0000
committerLang Hames <lhames@gmail.com>2019-01-14 22:05:12 +0000
commit46f0a97e2c30f4d457eb9b456ee6e1cd864369d8 (patch)
treea5bd1acd830bfaa22120830af65a46a2d7a3d971 /lldb/source/Core/Module.cpp
parent2a47e03ee4779b2b2c640c6ae3c0c91fef8c9fe6 (diff)
downloadbcm5719-llvm-46f0a97e2c30f4d457eb9b456ee6e1cd864369d8.tar.gz
bcm5719-llvm-46f0a97e2c30f4d457eb9b456ee6e1cd864369d8.zip
[Object] Return a symbol_iterator, rather than a basic_symbol_iterator, from
MachOObjectFile::getSymbolByIndex. ObjectFile derivatives should prefer symbol_iterator/SymbolRef over basic_symbol_iterator/BasicSymbolRef where possible, as the former retain their link to the ObjectFile (rather than a SymbolicFile) and provide more functionality. No test for this: Existing code is working, and we don't have (m)any libObject unit tests. I'll think about how we can test more systematically going forward. llvm-svn: 351128
Diffstat (limited to 'lldb/source/Core/Module.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud