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

Unified Diff: lib/Target/PNaCl/MCTargetDesc/PNaClMCAsmInfo.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/MCTargetDesc/PNaClMCAsmInfo.h ('k') | lib/Target/PNaCl/MCTargetDesc/PNaClMCTargetDesc.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/Target/PNaCl/MCTargetDesc/PNaClMCAsmInfo.cpp
===================================================================
--- lib/Target/PNaCl/MCTargetDesc/PNaClMCAsmInfo.cpp (revision 0)
+++ lib/Target/PNaCl/MCTargetDesc/PNaClMCAsmInfo.cpp (revision 0)
@@ -0,0 +1,19 @@
+//===-- PNaClMCAsmInfo.cpp - PNaCl asm properties ---------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This file contains the declarations of the PNaClMCAsmInfo properties.
+//
+//===----------------------------------------------------------------------===//
+
+#include "PNaClMCAsmInfo.h"
+using namespace llvm;
+
+PNaClMCAsmInfo::PNaClMCAsmInfo(const Target &T, StringRef TT) {
+ // PNaCl does not support assembly. It's a stub to make LTO works.
+}
« no previous file with comments | « lib/Target/PNaCl/MCTargetDesc/PNaClMCAsmInfo.h ('k') | lib/Target/PNaCl/MCTargetDesc/PNaClMCTargetDesc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698