search for: emitsectionoffset

Displaying 7 results from an estimated 7 matches for "emitsectionoffset".

2011 Jun 17
0
[LLVMdev] Simple clang + llc crash on Windows 7
...> > I understand from the 2.9 release notes that filetype=obj is currently experimentalbut the above is lifted from the visual studio intro on the website with a couple of minor modifications. > > Can I expect this to work? Am I doing something wrong? There's a FIXME in AsmPrinter::EmitSectionOffset (in lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp) pointing to this issue... filetype=obj is still experimental, particularly for Windows. -Eli
2011 Jun 17
2
[LLVMdev] Simple clang + llc crash on Windows 7
Hello, I'm eager to get to know Clang+LLVM but I'm having some problems generating debug information that force llc.exe to crash. I'm running from the command-line on Windows 7 with clang+llvm versions 2.9 downloaded from the website. The input file is main.c:      void mainCRTStartup()      {      } This is compiled to intermediate with debug symbols using:      clang -g -O0 -c
2011 Jun 17
2
[LLVMdev] Simple clang + llc crash on Windows 7
...> > I understand from the 2.9 release notes that filetype=obj is currently experimentalbut the above is lifted from the visual studio intro on the website with a couple of minor modifications. > > Can I expect this to work? Am I doing something wrong? There's a FIXME in AsmPrinter::EmitSectionOffset (in lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp) pointing to this issue... filetype=obj is still experimental, particularly for Windows. -Eli
2012 Nov 19
0
[LLVMdev] Debug information under windows
...n Nov 19 10:31:49 2012 +0100 @@ -257,6 +257,11 @@ /// EmitValue - Emit delta value. /// void DIEDelta::EmitValue(AsmPrinter *AP, unsigned Form) const { + if (AP->MAI->getDwarfSectionOffsetDirective()) { + // FIXME: Can DIEDelta be used in other contexts than section offset? + AP->EmitSectionOffset(LabelHi, LabelLo); + return; + } AP->EmitLabelDifference(LabelHi, LabelLo, SizeOf(AP, Form)); } diff -r 547972237a05 -r d28fa29d4b44 lib/CodeGen/AsmPrinter/DwarfDebug.cpp --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp Wed Oct 10 20:39:45 2012 +0200 +++ b/lib/CodeGen/AsmPrinter/DwarfDebug....
2011 Jun 19
0
[LLVMdev] Simple clang + llc crash on Windows 7
...he 2.9 release notes that filetype=obj is currently > experimentalbut the above is lifted from the visual studio intro on the > website with a couple of minor modifications. > > > > Can I expect this to work? Am I doing something wrong? > > There's a FIXME in AsmPrinter::EmitSectionOffset (in > lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp) pointing to this issue... > filetype=obj is still experimental, particularly for Windows. > > -Eli > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http:...
2012 Oct 26
5
[LLVMdev] Debug information under windows
Hello, Recently I found binaries produced with LLVM impossible to debug under Windows. This was probably related to the following bug: http://llvm.org/bugs/show_bug.cgi?id=13636 Asm generated from .ll files revealed that some offsets to debug information were incorrect: they were absolute instead of relative to their sections. Following patch seemed to have repaired the problem, so I'm
2011 Mar 10
3
[LLVMdev] Detrimental optimization for reducing relocations.
I was looking into the AsmPrinter and the method EmitSectionOffset which contains this code: -------------------------------------------------------------------------------- // If the section in question will end up with an address of 0 anyway, we can // just emit an absolute reference to save a relocation. if (Section.isBaseAddressKnownZero()) { OutSt...