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

Unified Diff: include/llvm/MC/MCNaCl.h

Issue 15067009: LLVM: Add ELF Note section to NaCl object files identifying them as such to gold (Closed) Base URL: http://git.chromium.org/native_client/pnacl-llvm.git@master
Patch Set: reviews, and add initialization to llvm-mc Created 7 years, 7 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 | « no previous file | include/llvm/Support/ELF.h » ('j') | include/llvm/Support/ELF.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/llvm/MC/MCNaCl.h
diff --git a/include/llvm/MC/MCNaCl.h b/include/llvm/MC/MCNaCl.h
new file mode 100644
index 0000000000000000000000000000000000000000..cf9b23ec1cb92bae6afd1bec32f754694390f9e6
--- /dev/null
+++ b/include/llvm/MC/MCNaCl.h
@@ -0,0 +1,18 @@
+//===- MCNaCl.h - NaCl-specific code for MC --------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+namespace llvm {
+class MCContext;
+class MCStreamer;
+class Triple;
+/// Initialize target-specific bundle alignment and emit target-specific NaCl
+/// ELF note sections.
+void initializeNaClMCStreamer(MCStreamer &Streamer, MCContext &Ctx,
+ const Triple &TheTriple);
+}
« no previous file with comments | « no previous file | include/llvm/Support/ELF.h » ('j') | include/llvm/Support/ELF.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698