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
26 lines
558 B
C++
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;
|
|
}
|
|
|
|
}
|