diff options
| author | Nick Kledzik <kledzik@apple.com> | 2012-03-08 00:18:30 +0000 |
|---|---|---|
| committer | Nick Kledzik <kledzik@apple.com> | 2012-03-08 00:18:30 +0000 |
| commit | 1a6615dc883555027a1b4aa4f03822eb4e1b8515 (patch) | |
| tree | 55ea11cd082a862e6a4f8f0bc993943dd8df9c21 /lld/lib/Core/YamlKeyValues.cpp | |
| parent | 11e8c0d6b56ad3fec5c638f838d9c2ce1345d4f0 (diff) | |
| download | bcm5719-llvm-1a6615dc883555027a1b4aa4f03822eb4e1b8515.tar.gz bcm5719-llvm-1a6615dc883555027a1b4aa4f03822eb4e1b8515.zip | |
Sources now require C++11 to build.
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
Diffstat (limited to 'lld/lib/Core/YamlKeyValues.cpp')
| -rw-r--r-- | lld/lib/Core/YamlKeyValues.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lld/lib/Core/YamlKeyValues.cpp b/lld/lib/Core/YamlKeyValues.cpp index 6e49580ce69..7ee46cc07fd 100644 --- a/lld/lib/Core/YamlKeyValues.cpp +++ b/lld/lib/Core/YamlKeyValues.cpp @@ -137,6 +137,7 @@ struct ContentTypeMapping { static const ContentTypeMapping typeMappings[] = { { "unknown", DefinedAtom::typeUnknown }, { "code", DefinedAtom::typeCode }, + { "stub", DefinedAtom::typeStub }, { "resolver", DefinedAtom::typeResolver }, { "constant", DefinedAtom::typeConstant }, { "c-string", DefinedAtom::typeCString }, |

