Use MCFillFragment for zero-initialized data.

It fixes PR16338 (ICE when compiling very large two-dimensional array).

Differential Revision: http://llvm-reviews.chandlerc.com/D1043


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185080 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Serge Pavlov
2013-06-27 14:35:03 +00:00
parent 31d2f08f88
commit b02f1e9a6b
5 changed files with 21 additions and 8 deletions

View File

@ -116,6 +116,7 @@ public:
virtual void EmitGPRel64Value(const MCExpr *Value);
virtual void EmitFill(uint64_t NumBytes, uint8_t FillValue,
unsigned AddrSpace = 0);
virtual void EmitZeros(uint64_t NumBytes, unsigned AddrSpace = 0);
virtual void FinishImpl();
/// @}