diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-10 22:20:30 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-10 22:20:30 +0000 |
commit | 349007ada0e55224d1ae3840835ddb09c42f1260 (patch) | |
tree | b51bd12c9229acf7e8630ea1ff8db5cdc44da66e /include/llvm | |
parent | 212ed9211c3f9eb9a7026c4e5520cdbaece12cb2 (diff) | |
download | external_llvm-349007ada0e55224d1ae3840835ddb09c42f1260.zip external_llvm-349007ada0e55224d1ae3840835ddb09c42f1260.tar.gz external_llvm-349007ada0e55224d1ae3840835ddb09c42f1260.tar.bz2 |
add support for .zerofill, patch by Kevin Enderby!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75301 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/MC/MCStreamer.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/llvm/MC/MCStreamer.h b/include/llvm/MC/MCStreamer.h index 6e20457..e0c50eb 100644 --- a/include/llvm/MC/MCStreamer.h +++ b/include/llvm/MC/MCStreamer.h @@ -125,6 +125,17 @@ namespace llvm { virtual void EmitCommonSymbol(MCSymbol *Symbol, unsigned Size, unsigned Pow2Alignment, bool IsLocal) = 0; + /// EmitZerofill - Emit a the zerofill section and possiblity a symbol, if + /// @param Symbol is non-NULL, for @param Size and with the @param + /// Pow2Alignment if non-zero. + /// + /// @param Section - The zerofill section to create and or to put the symbol + /// @param Symbol - The zerofill symbol to emit, if non-NULL. + /// @param Size - The size of the zerofill symbol. + /// @param Pow2Alignment - The alignment of the zerofill symbol if non-zero. + virtual void EmitZerofill(MCSection *Section, MCSymbol *Symbol = 0, + unsigned Size = 0,unsigned Pow2Alignment = 0) = 0; + /// @} /// @name Generating Data /// @{ |