hanchenye-llvm-project/llvm/tools
Steven Wu 34d80461ff [LTO][Legacy] Add new C inferface to query libcall functions
Summary:
This is needed to implemented the same approach as lld (implemented in r338434)
for how to handling symbols that can be generated by LTO code generator
but not present in the symbol table for linker that uses legacy C APIs.

libLTO is in charge of providing the list of symbols. Linker is in
charge of implementing the eager loading from static libraries using
the list of symbols.

rdar://problem/52853974

Reviewers: tejohnson, bd1976llvm, deadalnix, espindola

Reviewed By: tejohnson

Subscribers: emaste, arichardson, hiraditya, MaskRay, dang, kledzik, mehdi_amini, inglorion, jkorous, dexonsmith, ributzka, llvm-commits

Tags: #llvm

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

llvm-svn: 372021
2019-09-16 18:49:54 +00:00
..
bugpoint Bugpoint: Remove some unnecessary c_str conversions on the journey to StringRef 2019-09-14 00:32:13 +00:00
bugpoint-passes
dsymutil [Alignment] Introduce llvm::Align to MCSection 2019-09-13 09:29:59 +00:00
gold [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
llc [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
lli [cmake] Link in LLVMPasses due to dependency by LLVMOrcJIT; NFC 2019-08-19 23:12:48 +00:00
llvm-ar [llvm-ar] Uncapitalize error messages and delete full stop 2019-09-14 01:18:47 +00:00
llvm-as Rename F_{None,Text,Append} to OF_{None,Text,Append}. NFC 2019-08-05 05:43:48 +00:00
llvm-as-fuzzer
llvm-bcanalyzer [llvm-bcanalyzer] Refactor and move to libLLVMBitReader 2019-07-08 02:06:34 +00:00
llvm-c-test Revert "Expose TailCallKind via the LLVM C API" 2019-08-15 03:49:51 +00:00
llvm-cat Rename F_{None,Text,Append} to OF_{None,Text,Append}. NFC 2019-08-05 05:43:48 +00:00
llvm-cfi-verify [llvm-objdump] Add warning messages if disassembly + source for problematic inputs 2019-08-15 05:15:22 +00:00
llvm-config [NFC][cmake] Build fix in tools/llvm-config/CMakeLists.txt 2019-08-26 09:42:30 +00:00
llvm-cov [Alignment] Move OffsetToAlignment to Alignment.h 2019-09-12 15:20:36 +00:00
llvm-cvtres Share /machine: handling code with llvm-cvtres too 2019-06-12 11:32:43 +00:00
llvm-cxxdump
llvm-cxxfilt [binutils] Add response file option to help and docs 2019-06-21 11:49:20 +00:00
llvm-cxxmap Rename F_{None,Text,Append} to OF_{None,Text,Append}. NFC 2019-08-05 05:43:48 +00:00
llvm-diff
llvm-dis [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
llvm-dwarfdump [llvm-dwarfdump] Add additional stats fields 2019-09-10 10:37:28 +00:00
llvm-dwp Recommit r368812 "[llvm/Object] - Convert SectionRef::getName() to return Expected<>" 2019-08-14 11:10:11 +00:00
llvm-elfabi [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
llvm-exegesis [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
llvm-extract [llvm-extract] Update the help message for group extraction feature 2019-08-20 20:45:16 +00:00
llvm-go Bump llvm-go to C++14 2019-08-15 10:55:25 +00:00
llvm-ifs [yaml2obj/ObjectYAML] - Cleanup the error reporting API, add custom errors handlers. 2019-09-13 16:00:16 +00:00
llvm-isel-fuzzer [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
llvm-itanium-demangle-fuzzer
llvm-jitlink [llvm-jitlink] Add optional slab allocator for testing locality optimizations. 2019-09-06 19:21:55 +00:00
llvm-jitlistener
llvm-link [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
llvm-lipo [llvm-lipo] Implement -segalign 2019-08-05 19:06:55 +00:00
llvm-lto [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
llvm-lto2 [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
llvm-mc [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
llvm-mc-assemble-fuzzer [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
llvm-mc-disassemble-fuzzer
llvm-mca [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
llvm-microsoft-demangle-fuzzer
llvm-modextract Rename F_{None,Text,Append} to OF_{None,Text,Append}. NFC 2019-08-05 05:43:48 +00:00
llvm-mt
llvm-nm Revert [llvm-nm] Add tapi file support 2019-09-11 21:35:28 +00:00
llvm-objcopy [llvm-objcopy] Ignore -B --binary-architecture= 2019-09-14 01:36:31 +00:00
llvm-objdump [llvm-objdump] Fix llvm-objdump --all-headers output order 2019-09-13 08:56:28 +00:00
llvm-opt-fuzzer [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
llvm-opt-report [llvm-opt-report] Improve error handling 2019-09-13 20:52:04 +00:00
llvm-pdbutil [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
llvm-profdata [llvm-profdata] Add mode to recover from profile read failures 2019-09-03 22:23:16 +00:00
llvm-rc [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
llvm-readobj [llvm-readelf] - Print unknown st_other value if present in GNU output. 2019-09-06 13:05:34 +00:00
llvm-reduce llvm-reduce: Remove unused plugin support/requirements 2019-09-12 18:52:31 +00:00
llvm-rtdyld Added return statement to fix compile and build warning: 2019-09-16 10:30:37 +00:00
llvm-shlib [LLVM-C] Fix omission of INSTALL_WITH_TOOLCHAIN to llvm_add_library() 2019-08-28 22:59:04 +00:00
llvm-size [llvm-size] Fix spelling errors (Berkely -> Berkeley) 2019-09-13 12:00:42 +00:00
llvm-special-case-list-fuzzer
llvm-split Rename F_{None,Text,Append} to OF_{None,Text,Append}. NFC 2019-08-05 05:43:48 +00:00
llvm-stress [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
llvm-strings [binutils] Add response file option to help and docs 2019-06-21 11:49:20 +00:00
llvm-symbolizer llvm-symbolizer: Untag addresses in object files by default. 2019-08-05 20:59:25 +00:00
llvm-undname
llvm-xray [llvm-objdump] Add warning messages if disassembly + source for problematic inputs 2019-08-15 05:15:22 +00:00
llvm-yaml-numeric-parser-fuzzer
lto [LTO][Legacy] Add new C inferface to query libcall functions 2019-09-16 18:49:54 +00:00
msbuild vs integration: bump version nbr 2019-06-19 07:39:53 +00:00
obj2yaml [yaml2obj] Rename SHOffset (e_shoff) field to SHOff. NFC 2019-09-06 09:23:17 +00:00
opt Revert "Reland "r364412 [ExpandMemCmp][MergeICmps] Move passes out of CodeGen into opt pipeline."" 2019-09-10 10:39:09 +00:00
opt-viewer Revert Autogenerate the shebang lines for tools/opt-viewer 2019-08-27 18:31:29 +00:00
remarks-shlib [Remarks] Add parser for bitstream remarks 2019-09-09 17:43:50 +00:00
sancov [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
sanstats
verify-uselistorder Rename F_{None,Text,Append} to OF_{None,Text,Append}. NFC 2019-08-05 05:43:48 +00:00
xcode-toolchain
yaml2obj [yaml2obj/ObjectYAML] - Cleanup the error reporting API, add custom errors handlers. 2019-09-13 16:00:16 +00:00
CMakeLists.txt
LLVMBuild.txt [llvm-ifs][IFS] llvm Interface Stubs merging + object file generation tool. 2019-08-30 18:26:05 +00:00