1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/test/tools/llvm-symbolizer
Reid Kleckner d8e7f2f768 [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

llvm-svn: 267732
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 Fix coff-dwarf test for non-Windows platforms that cannot demangle MS C++ names 2015-10-09 01:11:40 +00:00
coff-exports.test Disable a test relying on symbol demangling on non-Windows platforms 2015-10-16 23:56:14 +00:00
dsym.test
fat.test MachO: remove weird ARM/Thumb interface from MachOObjectFile 2016-04-22 23:21:13 +00:00
ppc64.test Was convinced in commit comments that requiring a specific python version is the wrong approach; reverting. 2014-11-11 08:53:18 +00:00
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