hanchenye-llvm-project/llvm/test/tools
Teresa Johnson 791c98e4c8 [ThinLTO] Remove dead and dropped symbol declarations when possible
Summary:
Removing the dropped symbols will prevent indirect call promotion in the
ThinLTO Backend from adding a new reference to a symbol, which can
result in linker unsats. This can happen when we compile with a sample
profile collected from one binary by used for another, which may have
profiled targets that aren't used in the new binary.

Note that until dropDeadSymbols handles variables and aliases (in
progress), we may not be able to remove the declaration and can still
have an issue.

Reviewers: grimar, davidxl

Subscribers: mehdi_amini, inglorion, llvm-commits, eraman

Differential Revision: https://reviews.llvm.org/D42816

llvm-svn: 324299
2018-02-06 00:43:39 +00:00
..
dsymutil [DWARF] Regularize dumping strings from line tables. 2018-02-05 20:43:15 +00:00
gold [ThinLTO] Remove dead and dropped symbol declarations when possible 2018-02-06 00:43:39 +00:00
llvm-ar [llvm-ar] Support an options string that start with a dash 2017-11-03 20:09:10 +00:00
llvm-cfi-verify/X86 [cfi-verify] Add blame context printing, and improved print format. 2018-02-01 23:45:18 +00:00
llvm-config
llvm-cov [llvm-cov] Improvements for summary report generated in HTML format. 2018-01-31 17:37:21 +00:00
llvm-cvtres Fix buffer overrun in WindowsResourceCOFFWriter::writeSymbolTable() 2017-12-18 22:10:14 +00:00
llvm-cxxdump
llvm-cxxfilt
llvm-dlltool [COFF] Ignore semicolons in module definition identifiers 2017-12-06 19:18:24 +00:00
llvm-dwarfdump Add missing new files from r324077 2018-02-02 12:45:57 +00:00
llvm-dwp llvm-dwarfdump: automatically dump both regular and .dwo variant of sections 2017-09-13 22:09:01 +00:00
llvm-extract [llvm-extract] Support extracting basic blocks 2018-01-23 21:51:34 +00:00
llvm-isel-fuzzer [llvm-isel-fuzzer] Use "--" as separator rather than '='. 2017-10-13 00:18:32 +00:00
llvm-lib [test] Move llvm-lib tests into tools/llvm-lib. NFC. 2017-11-02 20:05:20 +00:00
llvm-lit
llvm-lto
llvm-lto2 Fix the bug that parseAAPipeline is not invoked in runNewPMPasses in release compiler. 2017-08-02 03:03:19 +00:00
llvm-mc
llvm-modextract
llvm-mt [llvm-mt] Remove platform-specific path in test 2018-01-05 18:23:22 +00:00
llvm-nm llvm-nm should show a symbol type of T for symbols in the (__TEXT_EXEC,__text) section. 2018-01-31 00:00:41 +00:00
llvm-objcopy [llvm-objcopy] Refactor llvm-objcopy to use reader and writer objects 2018-01-25 22:46:17 +00:00
llvm-objdump [WebAssembly] Remove debug names from symbol table 2018-01-17 19:28:43 +00:00
llvm-opt-fuzzer [llvm-opt-fuzzer] Only run tests for the x86 target. 2017-11-15 13:35:42 +00:00
llvm-opt-report
llvm-pdbdump [pdbutil] Replace 0 byte PDB input with correct version to fix failing unit test 2018-01-17 03:48:07 +00:00
llvm-profdata Profiling tests: Endianess XFAIL for powerpc- (32-bit) 2018-01-09 20:09:23 +00:00
llvm-rc Really fix llvm-rc include-paths.test 2017-10-11 21:27:54 +00:00
llvm-readobj Mark two tests REQUIRES: x86-registered-backend 2018-01-31 07:32:03 +00:00
llvm-size
llvm-split Make GlobalValues with non-default visibilility dso_local. 2018-01-18 02:08:23 +00:00
llvm-strings [llvm-strings] Add support for the -a/--all options 2017-11-14 19:58:36 +00:00
llvm-symbolizer [llvm-symbolizer] Fix coff-dwarf.test 2017-09-16 19:01:04 +00:00
llvm-xray/X86 [XRay][tools] Support arg1 logging entries in the basic logging mode 2017-10-05 05:18:17 +00:00
lto LTOModule::isBitcodeFile() shouldn't assert when returning false. 2017-10-31 16:39:47 +00:00
obj2yaml [obj2yaml] Don't crash for input files without symbol table 2017-09-22 09:30:40 +00:00
opt-viewer Fix some opt-viewer test issues and disable on Windows. 2018-01-05 22:05:13 +00:00
sancov
sanstats [sanstats] Remove a flaky test. 2017-07-13 01:36:12 +00:00
yaml2obj Add ELF dynamic symbol support to yaml2obj/obj2yaml 2017-11-16 18:10:15 +00:00