This website requires JavaScript.
Explore
Help
Register
Sign In
caio
/
clang-p2996
Watch
1
Star
0
Fork
0
You've already forked clang-p2996
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
aeed158f75f8ea9e812e49e6c19083c3d409ea03
clang-p2996
/
lldb
/
source
/
Plugins
/
SymbolFile
History
Sean Callanan
3b18fbd983
Fixed a crasher that happens if we try to inspect
...
a NULL symbol file. <rdar://problem/11795939> llvm-svn: 159882
2012-07-07 01:07:33 +00:00
..
DWARF
Fixed a crasher that happens if we try to inspect
2012-07-07 01:07:33 +00:00
Symtab
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.
2012-04-26 16:53:42 +00:00