aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Linker/LinkModules.cpp
AgeCommit message (Expand)AuthorFilesLines
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth1-4/+3
2017-08-09[Linker] PR33527 - Linker::LinkOnlyNeeded should import AppendingLinkage globalsBenoit Belley1-2/+12
2017-03-13[Linker] Provide callback for internalizationJonas Devlieghere1-19/+27
2017-02-03IRMover: Merge flags LinkModuleInlineAsm and IsPerformingImport.Peter Collingbourne1-1/+0
2017-02-03ModuleLinker: Remove importing support. NFCI.Peter Collingbourne1-58/+12
2017-02-03FunctionImport: Use IRMover directly.Peter Collingbourne1-2/+1
2017-02-02Linker: Move special casing for available_externally in IRMover to clients. N...Peter Collingbourne1-1/+2
2016-12-12[ThinLTO] Import only necessary DICompileUnit fieldsTeresa Johnson1-1/+2
2016-10-12[ThinLTO] Don't link module level assembly when importingTeresa Johnson1-1/+2
2016-06-14IR: Introduce local_unnamed_addr attribute.Peter Collingbourne1-3/+4
2016-06-08Apply most suggestions of clang-tidy's performance-unnecessary-value-paramBenjamin Kramer1-2/+2
2016-05-27Linker: teach the IR mover to return llvm::Error.Peter Collingbourne1-4/+15
2016-04-21Fix recursive -only-needed.Rafael Espindola1-1/+1
2016-04-21ThinLTO/ModuleLinker: add a flag to not always pull-in linkonce when performi...Mehdi Amini1-0/+9
2016-04-20ModuleLinker: only import what is in GlobalsToImport, regarless if it is a fu...Mehdi Amini1-22/+6
2016-03-29[ThinLTO] Remove post-pass metadata linking supportTeresa Johnson1-25/+5
2016-03-24Fix another case where we were unconditionally linking linkonce GVs.Rafael Espindola1-0/+6
2016-03-24Fix resolution of linkonce symbols in comdats.Rafael Espindola1-2/+8
2016-03-24Fix lazy linking of comdat members.Rafael Espindola1-13/+15
2016-03-23Fix logic for which symbols to keep with comdats.Rafael Espindola1-4/+4
2016-03-22Drop comdats from the dst module if they are not selected.Rafael Espindola1-1/+72
2016-03-19Rework linkInModule(), making it oblivious to ThinLTOMehdi Amini1-47/+16
2016-03-15[ThinLTO] Renaming of function index to module summary index (NFC)Teresa Johnson1-7/+7
2016-03-14Revert "[ThinLTO] Renaming of function index to module summary index (NFC)"Teresa Johnson1-7/+7
2016-03-14[ThinLTO] Renaming of function index to module summary index (NFC)Teresa Johnson1-7/+7
2016-03-09FunctionIndex is not optional for renameModuleForThinLTO(), make it a referen...Mehdi Amini1-1/+1
2016-02-16Pass a std::unique_ptr to IRMover::move.Rafael Espindola1-19/+19
2016-02-12Delete the deprecated LLVMLinkModules.Rafael Espindola1-34/+0
2016-02-10[ThinLTO] Move global processing from Linker to TransformUtils (NFC)Teresa Johnson1-294/+6
2016-02-08[ThinLTO] Remove imported available externally defs from comdats.Teresa Johnson1-2/+14
2016-01-22[ThinLTO] Do metadata linking during batch function importingTeresa Johnson1-2/+0
2016-01-16GlobalValue: use getValueType() instead of getType()->getPointerElementType().Manuel Jacob1-6/+4
2016-01-08[ThinLTO] Use new in-place symbol changes for exporting moduleTeresa Johnson1-7/+3
2016-01-08[ThinLTO] Enable in-place symbol changes for exporting moduleTeresa Johnson1-39/+114
2015-12-21[ThinLTO] Rename variable to reflect bulk importing change (NFC)Teresa Johnson1-10/+11
2015-12-21Remove unused functions from ModuleLinker (NFC)Teresa Johnson1-54/+0
2015-12-18Rename variables to reflect linker split (NFC)Teresa Johnson1-4/+4
2015-12-17[ThinLTO] Metadata linking for imported functionsTeresa Johnson1-5/+28
2015-12-17Mark a couple ModuleLinker member functions as const (NFC)Teresa Johnson1-2/+2
2015-12-16Change linkInModule to take a std::unique_ptr.Rafael Espindola1-7/+21
2015-12-14Use diagnostic handler in the LLVMContextRafael Espindola1-17/+24
2015-12-10Avoid undefined behavior when vector is empty.Rafael Espindola1-2/+1
2015-12-10Slit lib/Linker in two.Rafael Espindola1-1273/+86
2015-12-09Synchronize the logic for deciding to link a gv.Rafael Espindola1-1/+6
2015-12-08Move all private members together. NFC.Rafael Espindola1-23/+22
2015-12-07Factor two calls to a common location.Rafael Espindola1-7/+3
2015-12-07Simplify the error handling a bit. NFC.Rafael Espindola1-10/+9
2015-12-07Link declaration lazily.Rafael Espindola1-0/+3
2015-12-07Change how the linker handles the old llvm.global_ctors.Rafael Espindola1-92/+34
2015-12-04[ThinLTO] Helper for performing renaming/promotion on a moduleTeresa Johnson1-0/+12