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 | 9be3fee2bdc3126fb87e4e1b31935905f4bcc4d0 (patch) | |
| tree | b51bd12c9229acf7e8630ea1ff8db5cdc44da66e /include | |
| parent | dd9f8bbc20c3941efb4923e5f3a462c73a80713a (diff) | |
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')
| -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 6e204571d6..e0c50ebb72 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 /// @{ |
