Files
clang-p2996/lld/lib/Core/File.cpp
Nick Kledzik b334be1ed2 First implementation of Darwin Platform. It is rich enough to generate
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
2012-04-07 01:31:00 +00:00

26 lines
558 B
C++

//===- Core/File.cpp - A Contaier of Atoms --------------------------------===//
//
// The LLVM Linker
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#include "lld/Core/File.h"
#include "lld/Core/LLVM.h"
namespace lld {
File::~File() {}
StringRef File::translationUnitSource() const {
return StringRef();
}
const Atom *File::entryPoint() const {
return nullptr;
}
}