llvm/test/tools/llvm-symbolizer
Reid Kleckner 8a9e8e98ef [PDB] Fix function names for private symbols in PDBs
Summary:
llvm-symbolizer wants to get linkage names of functions for historical
reasons. Linkage names are only recorded in the PDB for public symbols,
and the linkage name is apparently stored separately in some "public
symbol" record. We had a workaround in PDBContext which would look for
such symbols when the user requested linkage names.

However, when given an address that was truly in a private function and
public funciton, we would accidentally find nearby public symbols and
return those function names. The fix is to look for both function
symbols and public symbols and only prefer the public symbol name if the
addresses of the symbols agree.

Fixes PR27492

Reviewers: zturner

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D19571

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@267732 91177308-0d34-0410-b5e6-96231b3b80d8
2016-04-27 16:10:29 +00:00
..
Inputs [llvm-symbolizer] Print out non-address lines verbatim. 2016-01-07 23:57:41 +00:00
pdb [PDB] Fix function names for private symbols in PDBs 2016-04-27 16:10:29 +00:00
coff-dwarf.test
coff-exports.test
dsym.test
fat.test MachO: remove weird ARM/Thumb interface from MachOObjectFile 2016-04-22 23:21:13 +00:00
ppc64.test
print_context.c [LLVM] Remove unwanted --check-prefix=CHECK from unit tests. NFC. 2016-04-19 23:51:52 +00:00
sym.test [llvm-symbolizer] Print out non-address lines verbatim. 2016-01-07 23:57:41 +00:00