diff options
author | Eli Bendersky <eliben@google.com> | 2012-12-20 19:05:53 +0000 |
---|---|---|
committer | Eli Bendersky <eliben@google.com> | 2012-12-20 19:05:53 +0000 |
commit | 4766ef41b31e4f97bce1179c3b0398303bf65356 (patch) | |
tree | 9c7d834025eea913e5887165099d31af8464cfe0 /include/llvm/MC/MCELFStreamer.h | |
parent | 5d3cfa6d1f6d3069893d50af39511cbf5576be91 (diff) | |
download | llvm-4766ef41b31e4f97bce1179c3b0398303bf65356.tar.gz llvm-4766ef41b31e4f97bce1179c3b0398303bf65356.tar.bz2 llvm-4766ef41b31e4f97bce1179c3b0398303bf65356.tar.xz |
Aligned bundling support. Following the discussion here:
http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-December/056754.html
The proposal and implementation are fully documented here:
https://sites.google.com/a/chromium.org/dev/nativeclient/pnacl/aligned-bundling-support-in-llvm
Tests will follow shortly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170718 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCELFStreamer.h')
-rw-r--r-- | include/llvm/MC/MCELFStreamer.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/MC/MCELFStreamer.h b/include/llvm/MC/MCELFStreamer.h index 03a57c7ee3..6608d96e4b 100644 --- a/include/llvm/MC/MCELFStreamer.h +++ b/include/llvm/MC/MCELFStreamer.h @@ -76,6 +76,8 @@ public: virtual void EmitTCEntry(const MCSymbol &S); + virtual void EmitValueToAlignment(unsigned, int64_t, unsigned, unsigned); + virtual void FinishImpl(); /// @} @@ -83,6 +85,10 @@ private: virtual void EmitInstToFragment(const MCInst &Inst); virtual void EmitInstToData(const MCInst &Inst); + virtual void EmitBundleAlignMode(unsigned AlignPow2); + virtual void EmitBundleLock(); + virtual void EmitBundleUnlock(); + void fixSymbolsInTLSFixups(const MCExpr *expr); struct LocalCommon { |