summaryrefslogtreecommitdiffstats
path: root/lld/lib/Core/Atom.cpp
blob: 889ec096e32899deb22fa9e74f11c254720c3856 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
//===- 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>();
  }

  Atom::ContentPermissions Atom::permissions() const { 
    return perm___; 
  }

  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