diff options
author | Greg Clayton <gclayton@apple.com> | 2010-08-17 23:16:15 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2010-08-17 23:16:15 +0000 |
commit | 3ef3fc6462518c9159d1ac8aa199d20a6afb65f8 (patch) | |
tree | db8cf321331010e77d88cc6e53cb34b76fa9bdee /llvm/lib/Support/ErrorHandling.cpp | |
parent | ce3b2c3f77a2ba64439e30cd11828aef4ec87c31 (diff) | |
download | llvm-3ef3fc6462518c9159d1ac8aa199d20a6afb65f8.zip llvm-3ef3fc6462518c9159d1ac8aa199d20a6afb65f8.tar.gz llvm-3ef3fc6462518c9159d1ac8aa199d20a6afb65f8.tar.bz2 |
Fixed an issue where we would return matches for DWARF in the .o files when
the resulting function from the .o file DWARF didn't make it into the final
executable. I recently changed the way FindFunctions() worked in the DWARF
with debug map case that caused regressions in our test suite for dead
stripped functions. The previous changes allowed us to leverage the powerful
searching added to the DWARF parser (search by full name, basename, selector,
or method name), without having to chop up the symbol names from the symbol
table and do any special parsing of the names to extract the basename,
selector or method. Previously we would look through the symbol table for
matches first, then try and find the .o file with DWARF for that symbol and
only search those .o files. Now we let the DWARF for the .o file search using
the new search styles, and filter out any functions that didn't make it.
llvm-svn: 111322
Diffstat (limited to 'llvm/lib/Support/ErrorHandling.cpp')
0 files changed, 0 insertions, 0 deletions