search for: emitendofasmfile

Displaying 5 results from an estimated 5 matches for "emitendofasmfile".

2010 May 11
2
[LLVMdev] AsmPrinter::EmitLinkage
...reated that is specialized by the different object file formats. There are already a number of specialized objects, and seems like at would make things confusing. I think there are other places that could benefit from a similar transformation. On example would be the handling of the X86AsmPrinter::EmitEndOfAsmFile which has three separate blocks of code dedicated to the different object file formats. At least in the case of COFF, the operations being performed are not specific to X86. -Nathan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/...
2010 May 11
0
[LLVMdev] AsmPrinter::EmitLinkage
...t is specialized by the different object file formats. There are already a number of specialized objects, and seems like at would make things confusing. > > I think there are other places that could benefit from a similar transformation. On example would be the handling of the X86AsmPrinter::EmitEndOfAsmFile which has three separate blocks of code dedicated to the different object file formats. At least in the case of COFF, the operations being performed are not specific to X86. What problem are you trying to solve here? I'm pretty sure that AsmPrinter is emitting valid COFF output already, no?...
2017 Nov 28
3
storing MBB MCSymbol in custom section
...the end into a binary upon compilation which contains address of all basic blocks. As the final address of the basic block is not known until link time, I collect the MCSymbol* Symbol Values per BB in a temp array and at the in the custom section and emit it (emitSymbolValue) into my section within EmitEndOfAsmFile() I have found people looking at slightly different uses of the basic block address but running into the same problem as me when compiling. $clang calc_pi.c -o calc_pi fatal error: error in backend: Undefined temporary symbol However when only compiling (incompletely via -S), e.g. $clang calc_pi....
2010 May 11
2
[LLVMdev] AsmPrinter::EmitLinkage
...different object file formats. There are already a number of specialized > objects, and seems like at would make things confusing. > > > > I think there are other places that could benefit from a similar > transformation. On example would be the handling of the > X86AsmPrinter::EmitEndOfAsmFile which has three separate blocks of code > dedicated to the different object file formats. At least in the case of > COFF, the operations being performed are not specific to X86. > > > What problem are you trying to solve here? I'm pretty sure that AsmPrinter > is emitting val...
2013 Sep 25
1
[LLVMdev] arm64 / iOS support
...InitMachOMCObjectFileInfo(T); diff --git a/lib/Target/AArch64/AArch64AsmPrinter.cpp b/lib/Target/AArch64/AArch64AsmPrinter.cpp index 759809f..2a38247 100644 --- a/lib/Target/AArch64/AArch64AsmPrinter.cpp +++ b/lib/Target/AArch64/AArch64AsmPrinter.cpp @@ -281,6 +281,8 @@ void AArch64AsmPrinter::EmitEndOfAsmFile(Module &M) { } Stubs.clear(); } + } else if (Subtarget->isTargetDarwin()) { + OutStreamer.EmitAssemblerFlag(MCAF_SubsectionsViaSymbols); } } diff --git a/lib/Target/AArch64/AArch64ISelLowering.cpp b/lib/Target/AArch64/AArch64ISelLowering.cpp index 48f34c0..0feaa0...