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/File.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/File.cpp')
-rw-r--r-- | lld/lib/Core/File.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/lib/Core/File.cpp b/lld/lib/Core/File.cpp index 09c3f8aba7b..995993ec493 100644 --- a/lld/lib/Core/File.cpp +++ b/lld/lib/Core/File.cpp @@ -13,8 +13,8 @@ namespace lld { File::~File() {} -bool File::translationUnitSource(llvm::StringRef &path) const { - return false; +llvm::StringRef File::translationUnitSource() const { + return llvm::StringRef(); } |