search for: emitzerofil

Displaying 12 results from an estimated 12 matches for "emitzerofil".

Did you mean: emitzerofill
2010 May 07
4
[LLVMdev] AsmPrinter behavior
...le=i386-apple-darwin10 > .section __TEXT,__text,regular,pure_instructions > .zerofill __DATA,__bss,_tst1,4,0 ## @tst1 > .section __DATA,__data > _tst2: ## @tst2 > .ascii "\000\001\002\003" > > I think we should have an 'EmitZeroFill()' and 'EmitASCII()' OutStream methods, the latter to deal with dllexports in 'lib/Target/X86/AsmPrinter/AsmPrinter.cpp:569'. > > We also need to sort out COFF TLOF, and get rid of the directive stuff. It looks to me that you should have an Emit method for the .scl, .de...
2010 May 07
0
[LLVMdev] AsmPrinter behavior
...- -mtriple=i386-apple-darwin10 > .section __TEXT,__text,regular,pure_instructions > .zerofill __DATA,__bss,_tst1,4,0 ## @tst1 > .section __DATA,__data > _tst2: ## @tst2 > .ascii "\000\001\002\003" > I think we should have an 'EmitZeroFill()' and 'EmitASCII()' OutStream methods, the latter to deal with dllexports in ' lib/Target/X86/AsmPrinter/AsmPrinter.cpp:569'. We also need to sort out COFF TLOF, and get rid of the directive stuff. Aaron -------------- next part -------------- An HTML attachment was scrubbed...
2010 May 07
0
[LLVMdev] AsmPrinter behavior
...t;> .section __TEXT,__text,regular,pure_instructions >> .zerofill __DATA,__bss,_tst1,4,0 ## @tst1 >> .section __DATA,__data >> _tst2: ## @tst2 >> .ascii "\000\001\002\003" >> > > I think we should have an 'EmitZeroFill()' and 'EmitASCII()' OutStream > methods, the latter to deal with dllexports in ' > lib/Target/X86/AsmPrinter/AsmPrinter.cpp:569'. > > We also need to sort out COFF TLOF, and get rid of the directive stuff. > > > It looks to me that you should have an Emit...
2010 May 07
3
[LLVMdev] AsmPrinter behavior
On May 7, 2010, at 9:51 AM, Nathan Jeffords wrote: >> This seems counter intuitive to me, I can understand that C assigned that behavior somewhat arbitrarily to uninitialized global variables, but in LLVM there is explicitly a common linkage attribute to get that behavior. Nothing in the llvm language reference indicates the behavior of a global with the 'internal' linkage attribute
2010 May 07
2
[LLVMdev] AsmPrinter behavior
...gt; .section __TEXT,__text,regular,pure_instructions >> .zerofill __DATA,__bss,_tst1,4,0 ## @tst1 >> .section __DATA,__data >> _tst2: ## @tst2 >> .ascii "\000\001\002\003" >> >> I think we should have an 'EmitZeroFill()' and 'EmitASCII()' OutStream methods, the latter to deal with dllexports in 'lib/Target/X86/AsmPrinter/AsmPrinter.cpp:569'. >> >> We also need to sort out COFF TLOF, and get rid of the directive stuff. > > It looks to me that you should have an Emit method...
2010 May 07
0
[LLVMdev] AsmPrinter behavior
...t;> .section __TEXT,__text,regular,pure_instructions >> .zerofill __DATA,__bss,_tst1,4,0 ## @tst1 >> .section __DATA,__data >> _tst2: ## @tst2 >> .ascii "\000\001\002\003" >> > > I think we should have an 'EmitZeroFill()' and 'EmitASCII()' OutStream > methods, the latter to deal with dllexports in ' > lib/Target/X86/AsmPrinter/AsmPrinter.cpp:569'. > > We also need to sort out COFF TLOF, and get rid of the directive stuff. > > > It looks to me that you should have an Emit...
2010 May 07
0
[LLVMdev] AsmPrinter behavior
...t,regular,pure_instructions >>> .zerofill __DATA,__bss,_tst1,4,0 ## @tst1 >>> .section __DATA,__data >>> _tst2: ## @tst2 >>> .ascii "\000\001\002\003" >>> >> >> I think we should have an 'EmitZeroFill()' and 'EmitASCII()' OutStream >> methods, the latter to deal with dllexports in ' >> lib/Target/X86/AsmPrinter/AsmPrinter.cpp:569'. >> >> We also need to sort out COFF TLOF, and get rid of the directive stuff. >> >> >> It looks to me t...
2012 Dec 16
0
[LLVMdev] [llvm] r170280 - /llvm/trunk/lib/MC/MCPureStreamer.cpp
...b/MC/MCPureStreamer.cpp (original) > +++ llvm/trunk/lib/MC/MCPureStreamer.cpp Sat Dec 15 22:23:20 2012 > @@ -37,7 +37,6 @@ > > virtual void InitSections(); > virtual void EmitLabel(MCSymbol *Symbol); > - virtual void EmitDebugLabel(MCSymbol *Symbol); > virtual void EmitZerofill(const MCSection *Section, MCSymbol *Symbol = 0, > uint64_t Size = 0, unsigned ByteAlignment = 0); > virtual void EmitBytes(StringRef Data, unsigned AddrSpace); >
2012 Dec 16
0
[LLVMdev] [llvm] r170280 - /llvm/trunk/lib/MC/MCPureStreamer.cpp
...b/MC/MCPureStreamer.cpp (original) > +++ llvm/trunk/lib/MC/MCPureStreamer.cpp Sat Dec 15 22:23:20 2012 > @@ -37,7 +37,6 @@ > > virtual void InitSections(); > virtual void EmitLabel(MCSymbol *Symbol); > - virtual void EmitDebugLabel(MCSymbol *Symbol); > virtual void EmitZerofill(const MCSection *Section, MCSymbol *Symbol = 0, > uint64_t Size = 0, unsigned ByteAlignment = 0); > virtual void EmitBytes(StringRef Data, unsigned AddrSpace); >
2010 Jul 16
0
[LLVMdev] Win32 COFF Support - Patch 3
...xpr *Value); > virtual void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size, > - unsigned ByteAlignment); > + unsigned ByteAlignment); > virtual void EmitLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size); > virtual void EmitZerofill(const MCSection *Section, MCSymbol *Symbol, > - unsigned Size,unsigned ByteAlignment); > + unsigned Size,unsigned ByteAlignment); > virtual void EmitTBSSSymbol(const MCSection *Section, MCSymbol *Symbol, > - uint64_t...
2010 Jul 14
2
[LLVMdev] Win32 COFF Support - Patch 3
On Sun, Jul 11, 2010 at 6:10 PM, Chris Lattner <clattner at apple.com> wrote: > This probably needs to be slightly tweaked to work with mainline.  I don't see anything objectionable, but I think Daniel needs to review this one. Updated patch to work with mainline. http://github.com/Bigcheese/llvm-mirror/commit/d19a4c82c18afc4830c09b70f02d162292231c94 - Michael Spencer
2010 Jun 21
2
[LLVMdev] MC: Object file specific parsing
...9;t be less than zero"); - - if (!Sym->isUndefined()) - return Error(IDLoc, "invalid symbol redefinition"); - - // '.lcomm' is equivalent to '.zerofill'. - // Create the Symbol as a common or local common with Size and Pow2Alignment - if (IsLocal) { - Out.EmitZerofill(Ctx.getMachOSection("__DATA", "__bss", - MCSectionMachO::S_ZEROFILL, 0, - SectionKind::getBSS()), - Sym, Size, 1 << Pow2Alignment); - return false; - } - - Out.EmitCom...