summaryrefslogtreecommitdiffstats
path: root/lld/lib/Core/Atom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/lib/Core/Atom.cpp')
-rw-r--r--lld/lib/Core/Atom.cpp51
1 files changed, 51 insertions, 0 deletions
diff --git a/lld/lib/Core/Atom.cpp b/lld/lib/Core/Atom.cpp
new file mode 100644
index 00000000000..482a21fe17e
--- /dev/null
+++ b/lld/lib/Core/Atom.cpp
@@ -0,0 +1,51 @@
+//===- Core/Atom.cpp - The Fundimental Unit of Linking --------------------===//
+//
+// The LLVM Linker
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#include "lld/Core/Atom.h"
+
+#include "llvm/ADT/ArrayRef.h"
+#include "llvm/ADT/StringRef.h"
+
+namespace lld {
+
+ Atom::~Atom() {}
+
+ bool Atom::translationUnitSource(llvm::StringRef &path) const {
+ return false;
+ }
+
+ llvm::StringRef Atom::name() const {
+ return llvm::StringRef();
+ }
+
+ llvm::StringRef Atom::customSectionName() const {
+ return llvm::StringRef();
+ }
+
+ llvm::ArrayRef<uint8_t> Atom::rawContent() const {
+ return llvm::ArrayRef<uint8_t>();
+ }
+
+ Reference::iterator Atom::referencesBegin() const {
+ return 0;
+ }
+
+ Reference::iterator Atom::referencesEnd() const{
+ return 0;
+ }
+
+ Atom::UnwindInfo::iterator Atom::beginUnwind() const{
+ return 0;
+ }
+
+ Atom::UnwindInfo::iterator Atom::endUnwind() const{
+ return 0;
+ }
+
+} // namespace lld
OpenPOWER on IntegriCloud