summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/CoreTargetInfo.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rename TargetInfo -> LinkingContext.Rui Ueyama2013-08-061-389/+0
| | | | | | | | | Also change some local variable names: "ti" -> "context" and "_targetInfo" -> "_context". Differential Revision: http://llvm-reviews.chandlerc.com/D1301 llvm-svn: 187823
* [ARM] Remove isThumb() as it's not used and it's not in the right place.Rui Ueyama2013-06-131-8/+0
| | | | | | | | | | | | | | Architecture specific code should reside in architecture specific directory not in Atom. Looks like there are no efforts being made at this moment to support ARM, so let's remove it for now. Reviewers: Bigcheese CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D959 llvm-svn: 183877
* Factor duplicated yamlReader creation.Rafael Espindola2013-06-111-0/+3
| | | | | | | | | | | 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
* Revert "Correctly pass ownership of MemoryBuffers."Michael J. Spencer2013-04-051-4/+3
| | | | llvm-svn: 178918
* Correctly pass ownership of MemoryBuffers.Michael J. Spencer2013-04-051-5/+5
| | | | llvm-svn: 178914
* This is my Driver refactoring patch. Nick Kledzik2013-04-041-0/+395
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
OpenPOWER on IntegriCloud