llvm-project/llvm/test/tools
Jonas Devlieghere d1c9751657 [dsymutil] Gather global and local symbol addresses in the main executable.
Usually local symbols will have their address described in the debug
map. Global symbols have to have their address looked up in the symbol
table of the main executable. By playing with 'ld -r' and export lists,
you can get a symbol described as global by the debug map while actually
being a local symbol as far as the link in concerned. By gathering the
address of local symbols, we fix this issue.

Also, we prefer a global symbol in case of a name collision to preserve
the previous behavior.

Note that using the 'ld -r' tricks, people can actually cause symbol
names collisions that dsymutil has no way to figure out. This fixes the
simple case where there is only one symbol of a given name.

rdar://problem/32826621

Differential revision: https://reviews.llvm.org/D54922

llvm-svn: 348021
2018-11-30 18:56:10 +00:00
..
dsymutil [dsymutil] Gather global and local symbol addresses in the main executable. 2018-11-30 18:56:10 +00:00
gold Change the timestamp of llvmcache-foo file to meet the thinLTO prune policy 2018-10-10 17:37:32 +00:00
llvm-ar [llvm-ar] Access ADDLIB in llvm-ar via command line 2018-10-26 13:34:38 +00:00
llvm-cfi-verify [cfi-verify] Support cross-DSO 2018-08-24 15:21:58 +00:00
llvm-config llvm-config: Add advapi32 to --system-libs on Windows (PR36372) 2018-02-23 12:20:26 +00:00
llvm-cov [llvm-cov] Add lcov tracefile export format. 2018-11-09 16:10:44 +00:00
llvm-cvtres [opt] Change the parameter of OptTable::PrintHelp from Name to Usage and don't append "[options] <inputs>" 2018-10-10 00:15:31 +00:00
llvm-cxxdump [llvm-cxxdump] Use error reporting helpers from support 2018-11-11 01:24:02 +00:00
llvm-cxxfilt Add test for demangling GNU ABI tags. 2018-03-22 22:04:32 +00:00
llvm-cxxmap Add flag to llvm-profdata to allow symbols in profile data to be remapped, and 2018-09-13 20:22:02 +00:00
llvm-diff llvm-diff: Fix crash on anonymous functions 2018-09-24 04:42:13 +00:00
llvm-dlltool [COFF] Adjust how we flag weak externals 2018-07-20 20:48:29 +00:00
llvm-dwarfdump Revert r347490 as it breaks address sanitizer builds 2018-11-23 17:13:06 +00:00
llvm-dwp [llvm-dwp] Clean up tests X86/*.test 2018-09-07 18:29:20 +00:00
llvm-exegesis [llvm-exegesis] Correclty handle all X86 memory encoding formats. 2018-11-07 16:14:55 +00:00
llvm-extract [hot-cold-split] Name split functions with ".cold" suffix 2018-10-24 18:53:47 +00:00
llvm-isel-fuzzer Revert r326710 "Fuzzer: remove temporary files after we're done with them." 2018-03-12 13:22:12 +00:00
llvm-lib Attempt to get test/tools/llvm-lib/help.test passing on sanitizer-x86_64-linux-fast 2018-07-14 11:33:33 +00:00
llvm-lit
llvm-lto [ThinLTO] Serialize WithGlobalValueDeadStripping index flag for distributed backends 2018-02-07 04:05:59 +00:00
llvm-lto2 [NewPM] teach -passes= to emit meaningful error messages 2018-10-17 10:36:23 +00:00
llvm-mc Replace unused output filenames with /dev/null in tests 2018-07-02 18:16:44 +00:00
llvm-mca [llvm-mca][MC] Add the ability to declare which processor resources model load/store queues (PR36666). 2018-11-29 12:15:56 +00:00
llvm-modextract
llvm-mt [llvm-mt] Use WithColor for printing errors. 2018-06-23 16:49:07 +00:00
llvm-nm [llvm-nm] Use WithColor for error reporting 2018-11-11 22:12:21 +00:00
llvm-objcopy/ELF [llvm-objcopy] Move elf-specific tests into subfolder 2018-11-30 05:43:39 +00:00
llvm-objdump [commit-test] Add blank line for test/tools/llvm-objdump/symbol-table-elf.test 2018-11-15 02:36:20 +00:00
llvm-opt-fuzzer [NewPM] teach -passes= to emit meaningful error messages 2018-10-17 10:36:23 +00:00
llvm-opt-report
llvm-pdbdump Fix a few small issues in llvm-pdbutil 2018-11-02 18:00:37 +00:00
llvm-profdata Add flag to llvm-profdata to allow symbols in profile data to be remapped, and 2018-09-13 20:22:02 +00:00
llvm-rc [llvm-rc] Support EXSTYLE statement. 2018-11-29 12:17:39 +00:00
llvm-readobj [libObject] Fix getDesc for Elf_Note_Impl 2018-11-13 01:10:35 +00:00
llvm-size [llvm-size] Berkeley formatting: use tabs instead of spaces as field delimeters. 2018-09-21 23:48:12 +00:00
llvm-split Make GlobalValues with non-default visibilility dso_local. 2018-01-18 02:08:23 +00:00
llvm-strings [llvm-strings] Fix whitespaces to match strings output. 2018-11-09 18:03:21 +00:00
llvm-symbolizer [llvm-objcopy] Rename --keep to --keep-section. 2018-11-13 19:32:27 +00:00
llvm-xray/X86 [XRay] Update XRayRecord to support Custom/Typed Events 2018-11-06 08:51:37 +00:00
lto Move `REQUIRES:` line to the top 2018-06-26 17:44:23 +00:00
obj2yaml
opt-viewer [opt-viewer] Set title for the source pages 2018-02-26 21:15:50 +00:00
sancov
sanstats [cfi] Help sanstats to find binary if they are not at the original location 2018-11-26 21:48:55 +00:00
yaml2obj [obj2yaml] [COFF] Write RVA instead of VA for sections, fix roundtripping executables 2018-11-29 20:53:57 +00:00