summaryrefslogtreecommitdiffstats
path: root/lld/lib/Core/NativeReader.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add Pass to instantiate GOT entriesNick Kledzik2012-03-151-1/+17
| | | | llvm-svn: 152874
* Sources now require C++11 to build.Nick Kledzik2012-03-081-107/+128
| | | | | | | | | | | | | | | | | Add first linker pass (StubsPass) which looks for calls to shared library symbols and replaces them with calls to a StubAtom. On ELF system, a "stub" is a PLT entry. Added a simple test case. Pass a Platform object to YAML reader and writer for converting fixup kinds between names and values. Change output of Resolver to be a File object instead of a vector of Atoms. Thus, passes operate on a File instead of just Atoms. Rework how to walk through a File's Atoms. Now iterator based instead of a method that visits each atom. llvm-svn: 152269
* Add support for SharedLibraryAtoms (proxy atoms for exported symbols from a Nick Kledzik2012-02-221-9/+198
| | | | | | | | shared library) and AbsoluteAtoms (proxy atoms for absolute address (e.g. ROM)). Redesign weak importing as can-be-null-at-runtime and can-be-null-at-build-time. Add lots of test cases for all the above. llvm-svn: 151204
* (no commit message)Nick Kledzik2012-02-151-30/+186
| | | | llvm-svn: 150539
* Add support for UndefinedAtom in yaml and native format. Add test cases ↵Nick Kledzik2012-02-071-16/+99
| | | | | | with undefined atoms llvm-svn: 149962
* Cleanup system_error extensions.Michael J. Spencer2012-01-311-66/+19
| | | | llvm-svn: 149432
* Fix use after free.Michael J. Spencer2012-01-311-1/+1
| | | | llvm-svn: 149429
* Flexible array members are not in C++03, and MSVC doesn't support them.Michael J. Spencer2012-01-311-1/+3
| | | | llvm-svn: 149426
* First chunk of native object file reader/writer. The lld-core tool now ↵Nick Kledzik2012-01-161-0/+415
reads YAML file, links, writes that out as native object format, then reads that native file, then writes the YAML to stdout. Thus the test suite tests both YAML reading/writing as well as native object file reading/writing. llvm-svn: 148256
OpenPOWER on IntegriCloud