summaryrefslogtreecommitdiffstats
path: root/lld/lib/Core/TargetInfo.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rename TargetInfo -> LinkingContext.Rui Ueyama2013-08-061-56/+0
| | | | | | | | | Also change some local variable names: "ti" -> "context" and "_targetInfo" -> "_context". Differential Revision: http://llvm-reviews.chandlerc.com/D1301 llvm-svn: 187823
* Factor duplicated yamlReader creation.Rafael Espindola2013-06-111-0/+5
| | | | | | | | | | | The yaml reader is not specific to any file format. This patch moves it to TargetInfo and makes validate a non virtual interface so that it can be constructed from a single location. The same method will be used to create a reader for llvm bitcode files. llvm-svn: 183740
* This adds functionality for undefined atoms from dynamic libraries to be addedShankar Easwaran2013-04-111-14/+8
| | | | | | | | | | | | to the list of undefined atoms. The processing of undefined atoms from dynamic libraries is controlled by use-shlib-undefines command line option. This patch also adds additional command line arguments to allow/disallow unresolved symbols from shared libraries and mimics GNU ld behavior. llvm-svn: 179257
* Revert "Correctly pass ownership of MemoryBuffers."Michael J. Spencer2013-04-051-1/+2
| | | | llvm-svn: 178918
* Correctly pass ownership of MemoryBuffers.Michael J. Spencer2013-04-051-3/+2
| | | | llvm-svn: 178914
* Fix uninitialized variables. Found by ubsan.Michael J. Spencer2013-04-051-0/+1
| | | | llvm-svn: 178913
* This is my Driver refactoring patch. Nick Kledzik2013-04-041-11/+32
| | | | | | | | | | | | | | | | | | | | | | | The major changes are: 1) LinkerOptions has been merged into TargetInfo 2) LinkerInvocation has been merged into Driver 3) Drivers no longer convert arguments into an intermediate (core) argument list, but instead create a TargetInfo object and call setter methods on it. This is only how in-process linking would work. That is, you can programmatically set up a TargetInfo object which controls the linking. 4) Lots of tweaks to test suite to work with driver changes 5) Add the DarwinDriver 6) I heavily doxygen commented TargetInfo.h Things to do after this patch is committed: a) Consider renaming TargetInfo, given its new roll. b) Consider pulling the list of input files out of TargetInfo. This will enable in-process clients to create one TargetInfo the re-use it with different input file lists. c) Work out a way for Drivers to format the warnings and error done in core linking. llvm-svn: 178776
* Add {,ELF,MachO}TargetInfo.Michael J. Spencer2013-01-221-0/+35
llvm-svn: 173117
OpenPOWER on IntegriCloud