search for: mcsa_glob

Displaying 8 results from an estimated 8 matches for "mcsa_glob".

Did you mean: mcsa_global
2014 Jan 31
5
[LLVMdev] emitting function stub for mips16 floating point patch
I'm rewriting this patch for the stubs to not use outputing of raw text. Generating the instructions is very straightforward and that part is done. I'm translating the actual function now. How do you emit an .ent or .globl from asm printer? .type ? .end ?? .section ??? I'm studying the classes now but it should be simple to do so if you know, you can save me some time because this
2010 May 06
2
[LLVMdev] Win32 COFF Support
...> I think I can figure out the right thing to do here. > Also, w.r.t. section handling stuff, there is this fixme in the asmprinter: > > } else if (const char *LinkOnce = MAI->getLinkOnceDirective()) { > // .globl _foo > OutStreamer.EmitSymbolAttribute(GVSym, MCSA_Global); > // FIXME: linkonce should be a section attribute, handled by COFF > Section > // assignment. > // > http://sourceware.org/binutils/docs-2.20/as/Linkonce.html#Linkonce > // .linkonce discard > // FIXME: It would be nice to use .linkonce samesi...
2010 Feb 12
2
[LLVMdev] [PATCH] Fix off-by-one errors in the doxygen documentation
...NU_IFUNC - MCSA_ELF_TypeObject, /// .type _foo, STT_OBJECT # aka @object - MCSA_ELF_TypeTLS, /// .type _foo, STT_TLS # aka @tls_object - MCSA_ELF_TypeCommon, /// .type _foo, STT_COMMON # aka @common - MCSA_ELF_TypeNoType, /// .type _foo, STT_NOTYPE # aka @notype - MCSA_Global, /// .globl - MCSA_Hidden, /// .hidden (ELF) - MCSA_IndirectSymbol, /// .indirect_symbol (MachO) - MCSA_Internal, /// .internal (ELF) - MCSA_LazyReference, /// .lazy_reference (MachO) - MCSA_Local, /// .local (ELF) - MCSA_NoDeadS...
2014 Feb 04
2
[LLVMdev] emitting function stub for mips16 floating point patch
...> Generating the instructions is very straightforward and that part is done. > awesome! > >> I'm translating the actual function now. >> >> How do you emit an .ent > emitDirectiveEnt in the mips target streamer. > >> or .globl > EmitSymbolAttribute with MCSA_Global > >> from asm printer? >> .type ? > EmitSymbolAttribute with MCSA_ELF_Type* > >> .end ?? > emitDirectiveEnd on the mips target streamer > >> .section ??? > SwitchSection > >> I'm studying the classes now but it should be simple to do so if y...
2010 May 06
0
[LLVMdev] Win32 COFF Support
...ool!, I will make that change and submit it too. Thanks! > Also, w.r.t. section handling stuff, there is this fixme in the asmprinter: > > } else if (const char *LinkOnce = MAI->getLinkOnceDirective()) { > // .globl _foo > OutStreamer.EmitSymbolAttribute(GVSym, MCSA_Global); > // FIXME: linkonce should be a section attribute, handled by COFF Section > // assignment. > // http://sourceware.org/binutils/docs-2.20/as/Linkonce.html#Linkonce > // .linkonce discard > // FIXME: It would be nice to use .linkonce samesize for non...
2010 Oct 10
1
[LLVMdev] More questions about non_lazy_ptr
I have a problem where my LLVM-generated code works on Linux but not on OS X, and the problem involves non_lazy_ptr. I have an external symbol named "@gc_safepoint_map", which is generated by the linker's GCStrategy plugin. Since it is not generated until link time, I declared it as an external symbol so that the modules that use it can compile without error. Here's what the
2010 Jul 16
0
[LLVMdev] Win32 COFF Support - Patch 3
...MCSymbolAttr Attribute) { > + switch (Attribute) { > + case MCSA_WeakReference: > + getSymbolData(Symbol)->modifyFlags( > + COFF::SF_WeakReference, > + COFF::SF_WeakReference > + ); > + break; > + > + case MCSA_Global: > + getSymbolData(Symbol)->setExternal(true); > + break; > + > + default: > + dbg_unexpected("unsupported attribute " << Attribute); > + break; > + } > } > > void WinCOFFStreamer::EmitSymbolDesc(MCSymbol *Symbol, unsigned DescValue...
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