summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/Timer.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-04-26 16:53:42 +0000
committerGreg Clayton <gclayton@apple.com>2012-04-26 16:53:42 +0000
commit9efa076aa66dce7a218322dd6d73def942cbe100 (patch)
tree131f1798b38e1c21d6c695f47a642eca12ae9097 /lldb/source/Core/Timer.cpp
parent11b1f4166283812b27e19cb2a726c13b914ec9fc (diff)
downloadbcm5719-llvm-9efa076aa66dce7a218322dd6d73def942cbe100.tar.gz
bcm5719-llvm-9efa076aa66dce7a218322dd6d73def942cbe100.zip
Save more memory by not parsing the symbol table for stand alone DWARF files. We currently have SymbolFile plug-ins which all get the chance to say what they can parse in a symbol file. Prior to this fix we would ask the SymbolFileDWARF plug-in what abilities it had, and it would answer with "everything", and then we would check the SymbolFileSymtab plug-in what abilities it had, in case it had more abilities. The checking that SymbolFileSymtab does is a bit expensive as it pulls in the entire symbol table just to see if it can offer a few scraps of debug information. This causes all stand along DWARF files to pull in their symbol tables even though those symbols will never be used. This fix will check all SymbolFile plug-ins for their abilities and if any plug-in responds with "everything", then we stop the search.
llvm-svn: 155638
Diffstat (limited to 'lldb/source/Core/Timer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud