llvm/test/tools
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
..
dsymutil dsymutil: Only warn about clang module DWO id mismatches in verbose mode. 2016-04-25 17:04:32 +00:00
gold Remove size 1 from check as that isn't part of what the test is meant to be testing. 2016-04-27 15:03:09 +00:00
llvm-config Disable all llvm-config tests for now, will investigate later 2016-02-10 17:29:50 +00:00
llvm-cov [Coverage] Restore the correct count value after processing a nested region in case of combined regions. 2016-04-25 09:43:37 +00:00
llvm-cxxdump [llvm-cxxdump] Remove duplicate code check. 2015-09-15 23:35:32 +00:00
llvm-dwp llvm-dwp: Handle GCC's use of multiple debug_types.dwo sections in a single .dwo file 2016-04-05 20:26:50 +00:00
llvm-lit [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
llvm-lto [ThinLTO] Use valueid instead of bitcode offsets in combined index file 2016-04-27 13:28:35 +00:00
llvm-mc [Hexagon] Removing XFAIL on Hexagon target. 2015-11-09 06:15:55 +00:00
llvm-nm Fix some bugs in the posix output of llvm-nm. Which is documented on 2016-03-29 20:18:07 +00:00
llvm-objdump llvm-objdump: deal with invalid ARM encodings slightly better. 2016-04-22 23:23:31 +00:00
llvm-pdbdump Fix several accidental DOS line endings in source files 2016-01-03 17:22:03 +00:00
llvm-profdata [LLVM] Remove unwanted --check-prefix=CHECK from unit tests. NFC. 2016-04-19 23:51:52 +00:00
llvm-readobj [llvm-readobj] Add ELF hash histogram printing 2016-04-11 17:15:30 +00:00
llvm-size [llvm-size] Implement --common option 2016-03-28 16:48:10 +00:00
llvm-split Preserve blockaddress use edges in the module splitter. 2016-03-31 21:55:11 +00:00
llvm-symbolizer [PDB] Fix function names for private symbols in PDBs 2016-04-27 16:10:29 +00:00
lto LTOCodeGenerator: turns linkonce(_odr) into weak_(odr) when present "MustPreserve" set 2016-04-27 00:32:02 +00:00
sancov [sancov] using normalized filenames for blacklist checks. 2016-04-21 23:38:45 +00:00
sanstats Introduce sanstats tool and llvm::CreateSanitizerStatReport function. 2016-01-16 00:31:11 +00:00