| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
now Reader and Writer subclasses for each file format. Each Reader and
Writer subclass defines an "options" class which controls how that Reader
or Writer operates.
llvm-svn: 157774
|
|
|
|
|
|
|
|
| |
recursive descent functions into one table driven parser. Add proper
error recovery and reporting. Add lots of test cases with semantics errors
and verify error messages.
llvm-svn: 156136
|
|
|
|
| |
llvm-svn: 155847
|
|
|
|
| |
llvm-svn: 155846
|
|
|
|
|
|
|
|
|
| |
Add SharedLibraryFile and ArchiveLibraryFile subclasses of File.
Add command line options to lld-core to set various ResolverOptions settings
and added lots of test cases to verify the options work.
llvm-svn: 155183
|
|
|
|
|
|
| |
be used
llvm-svn: 154302
|
|
|
|
|
|
| |
be used
llvm-svn: 154301
|
|
|
|
|
|
|
|
|
|
| |
a hello world executable from atoms. There is still much to be flushed out.
Added one test case, test/darwin/hello-world.objtxt, which exercises the
darwin platform.
Added -platform option to lld-core tool to dynamically select platform.
llvm-svn: 154242
|
|
|
|
| |
llvm-svn: 153964
|
|
|
|
|
|
| |
types into the lld namespace.
llvm-svn: 153963
|
|
|
|
| |
llvm-svn: 153677
|
|
|
|
|
|
| |
Also fix some Platform.h includes that somehow got missed last time.
llvm-svn: 153590
|
|
|
|
| |
llvm-svn: 152874
|
|
|
|
| |
llvm-svn: 152565
|
|
|
|
| |
llvm-svn: 152389
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 150539
|
|
|
|
|
|
| |
with undefined atoms
llvm-svn: 149962
|
|
|
|
| |
llvm-svn: 149432
|
|
|
|
|
|
| |
DefinedAtom, so only atoms representing definitions need to implement them. 2) Remove definitionTentative, definitionWeak, mergeDuplicates, and autoHide. Replace with merge and interposable attributes. 3) Make all methods on Atom be virtual so that future object file readers can lazily generated attributes
llvm-svn: 147903
|
|
|
|
| |
llvm-svn: 147799
|
|
|
|
| |
llvm-svn: 147571
|
|
|
|
| |
llvm-svn: 147130
|
|
|
|
| |
llvm-svn: 147105
|
|
|
|
|
|
| |
and mergeDuplicates()
llvm-svn: 146958
|
|
|
|
| |
llvm-svn: 146931
|
|
llvm-svn: 146844
|