summaryrefslogtreecommitdiffstats
path: root/lld/lib/Core/File.cpp
diff options
context:
space:
mode:
authorNick Kledzik <kledzik@apple.com>2012-04-07 01:31:00 +0000
committerNick Kledzik <kledzik@apple.com>2012-04-07 01:31:00 +0000
commitb334be1ed23b7e4e3820742c0d526d3f6be25738 (patch)
tree894ba70d71604040d875d444e862318b4d0c652e /lld/lib/Core/File.cpp
parentc4d558a43e18b1fa2f094f1ea07f70e19bfb8a3c (diff)
downloadbcm5719-llvm-b334be1ed23b7e4e3820742c0d526d3f6be25738.tar.gz
bcm5719-llvm-b334be1ed23b7e4e3820742c0d526d3f6be25738.zip
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
Diffstat (limited to 'lld/lib/Core/File.cpp')
-rw-r--r--lld/lib/Core/File.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lld/lib/Core/File.cpp b/lld/lib/Core/File.cpp
index ffca9cbc461..70ce886919a 100644
--- a/lld/lib/Core/File.cpp
+++ b/lld/lib/Core/File.cpp
@@ -18,5 +18,8 @@ StringRef File::translationUnitSource() const {
return StringRef();
}
+const Atom *File::entryPoint() const {
+ return nullptr;
+}
}
OpenPOWER on IntegriCloud