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

Unified Diff: lib/Target/PNaCl/MCTargetDesc/PNaClTargetDesc.cpp

Issue 1395453003: Create a proper target machine for PNaCl. Base URL: https://chromium.googlesource.com/native_client/pnacl-llvm.git@master
Patch Set: Fix a test Created 5 years, 2 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/MCTargetDesc/Makefile ('k') | lib/Target/PNaCl/Makefile » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/Target/PNaCl/MCTargetDesc/PNaClTargetDesc.cpp
diff --git a/bindings/go/llvm/llvm_dep.go b/lib/Target/PNaCl/MCTargetDesc/PNaClTargetDesc.cpp
similarity index 61%
copy from bindings/go/llvm/llvm_dep.go
copy to lib/Target/PNaCl/MCTargetDesc/PNaClTargetDesc.cpp
index 39b46759483edfaedbb24ab684985f75cb327ee6..b5d3578dcc5a58307882908aa043e5d8c5bd2a32 100644
--- a/bindings/go/llvm/llvm_dep.go
+++ b/lib/Target/PNaCl/MCTargetDesc/PNaClTargetDesc.cpp
@@ -1,4 +1,4 @@
-//===- llvm_dep.go - creates LLVM dependency ------------------------------===//
+//===-- PNaClMCTargetDesc.h - PNaCl Target Descriptions -------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
@@ -7,13 +7,8 @@
//
//===----------------------------------------------------------------------===//
//
-// This file ensures that the LLVM libraries are built before using the
-// bindings.
+// This file provides PNaCl specific target descriptions.
//
//===----------------------------------------------------------------------===//
-// +build !byollvm
-
-package llvm
-
-var _ run_build_sh
+extern "C" void LLVMInitializePNaClTargetMC() { }
« no previous file with comments | « lib/Target/PNaCl/MCTargetDesc/Makefile ('k') | lib/Target/PNaCl/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698