Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Unified Diff: lib/Target/PNaCl/TargetInfo/PNaClTargetInfo.cpp

Issue 7847007: lto/addAsmGlobalSymbols: fail fracefully when the target does not define AsmParser. (Closed) Base URL: https://llvm.org/svn/llvm-project/llvm/trunk/
Patch Set: . Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/Target/PNaCl/TargetInfo/Makefile ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/Target/PNaCl/TargetInfo/PNaClTargetInfo.cpp
===================================================================
--- lib/Target/PNaCl/TargetInfo/PNaClTargetInfo.cpp (revision 0)
+++ lib/Target/PNaCl/TargetInfo/PNaClTargetInfo.cpp (revision 0)
@@ -0,0 +1,19 @@
+//===-- PNaClTargetInfo.cpp - PNaCl Target Implementation -------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#include "PNaClTargetMachine.h"
+#include "llvm/Module.h"
+#include "llvm/Support/TargetRegistry.h"
+using namespace llvm;
+
+Target llvm::ThePNaClTarget;
+
+extern "C" void LLVMInitializePNaClTargetInfo() {
+ RegisterTarget<Triple::le32> X(ThePNaClTarget, "pnacl", "PNaCl backend");
+}
« no previous file with comments | « lib/Target/PNaCl/TargetInfo/Makefile ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698