Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] How do I generate a Dwarf file?"
2006 Apr 29
3
[LLVMdev] Building LLVM under Mingw. Part I: tools-only
Hello, Everyone.
Now I have some spare time and I've decided to build LLVM on Mingw.
I've grab the latest 1.7 release (not CVS snapshot). Here are some
issues fixed during the build. Now I'm preparing gcc build. So, I
think, there will some other "parts"
1. Prerequisites
1.1 GCC 3.4.5 from mingw.org site.
$ gcc --version
gcc.exe (GCC) 3.4.5 (mingw special)
Copyright (C)
2005 Jul 11
0
[LLVMdev] Mod for using GAS with MS VC++
On Mon, 11 Jul 2005, Aaron Gray wrote:
> Here is a mod to X86 that allows GAS to be used with MS Visual C++.
>
> I introduces a 'forWindows' variable like 'forCygwin' in th
> X86SharedAsmPrinter class.
>
A couple of comments:
1. Please send patches instead of full files. The best way to do this is
to use CVS like this: 'cvs diff -u' in the directory
2009 Dec 08
2
[LLVMdev] getAnalysisIfAvailable<>(...)
Is it consistent to have a Pass instance's run method's implementation use getAnalysisIfAvailable<AnalysisType>() (vs just using getAnalysis< AnalysisType >) when that same instance's getAnalysisUsage(AnalysisUsage &au) implementation invokes au.addRequired<AnalysisType>()?
For example in the implementation of SelectionDAGISel::runOnMachineFunction(...) (called
2009 Dec 08
0
[LLVMdev] getAnalysisIfAvailable<>(...)
Hi!
If a pass is required then it makes sense to
getAnalysis<DwarfWriter>(). getAnalysisIfAvailable<>() is used for
cases where a pass want to take advantage of (or fix up) info only
*if* it is available.
If you prepare a patch to fix getAnalysisifAvailable<>() uses (e.g.
DwarfWriter requests you mention below) then I'll apply it.
-
Devang
On Tue, Dec 8, 2009 at 11:11
2009 Apr 20
1
[LLVMdev] Build fails on windows with VC2008
Hello
The current svn revision fails to compile on windows using Visual Studio
2008.
I'm getting:
3>f:\dev\llvm\lib\codegen\asmprinter\dwarfwriter.cpp(1167) : error C4716:
'llvm::DbgScope::getLine' : must return a value
3>f:\dev\llvm\lib\codegen\asmprinter\dwarfwriter.cpp(1168) : error C4716:
'llvm::DbgScope::getColumn' : must return a value
2009 Feb 24
2
[LLVMdev] Debug Info Question
Hi,
I want to emit the debug information in assembly through assembler
directives. Also I don't want to emit debug information in sections
(like Dwarf). Instead the debug information will be interspersed with
the assembly. However in LLVM, debug info (e.g. stoppoint) is read and
made part of the DAG only when DwarfWriter is registered.
How can I emit the debug information in assembly
2006 Mar 01
1
[LLVMdev] Re: [llvm-commits] CVS: llvm/include/llvm/CodeGen/DwarfWriter.h - LLVM build problem
Hi!
After commit
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060227/032167.html :
- DIE *NewType(DIE *Unit, TypeDesc *TyDesc);
+ DIE *DwarfWriter::NewType(CompileUnit *Unit, TypeDesc *TyDesc);
and
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060227/032227.html
- DIE *DwarfWriter::NewType(CompileUnit *Unit, TypeDesc *TyDesc);
+ DIE *DwarfWriter::NewType(DIE
2009 Feb 24
0
[LLVMdev] Debug Info Question
Sachin,
On Feb 24, 2009, at 12:27 AM, Sachin.Punyani at microchip.com wrote:
> Hi,
>
> I want to emit the debug information in assembly through assembler
> directives. Also I don’t want to emit debug information in sections
> (like Dwarf). Instead the debug information will be interspersed
> with the assembly. However in LLVM, debug info (e.g. stoppoint) is
> read
2010 Nov 26
3
[LLVMdev] Next round of DWARF issues/questions
On Tue, Nov 9, 2010 at 9:04 AM, Devang Patel <dpatel at apple.com> wrote:
>
>
> On Nov 8, 2010, at 10:52 PM, Talin <viridia at gmail.com> wrote:
>
> On Mon, Nov 8, 2010 at 9:56 AM, Devang Patel < <dpatel at apple.com>
> dpatel at apple.com> wrote:
>
>>
>> On Nov 6, 2010, at 7:35 PM, Talin wrote:
>>
>> After to speaking to Devang
2010 Nov 09
0
[LLVMdev] Next round of DWARF issues/questions
On Nov 8, 2010, at 10:52 PM, Talin <viridia at gmail.com> wrote:
> On Mon, Nov 8, 2010 at 9:56 AM, Devang Patel <dpatel at apple.com> wrote:
>
> On Nov 6, 2010, at 7:35 PM, Talin wrote:
>
>> After to speaking to Devang and a number of other people at the developer's conference, I was able to make some forward progress on getting debugging to work. I'm now
2009 Feb 24
1
[LLVMdev] Debug Info Question
Hi,
I want to emit the debug information in assembly through assembler
directives. Also I don't want to emit debug information in sections
(like Dwarf). Instead the debug information will be interspersed with
the assembly. However in LLVM, debug info (e.g. stoppoint) is read and
made part of the DAG only when DwarfWriter is registered.
How can I emit the debug information in assembly
2009 Apr 30
0
[LLVMdev] Pulling line number/file/path information from DbgStopPointInst instructions
On Wed, Apr 29, 2009 at 6:04 PM, Sarah Thompson <sarah at findatlantis.com> wrote:
> Hi folks,
>
> I had some code that used to work fine in earlier versions of LLVM,
> but is now failing. I have some code that expands DbgStopPointInst
> instructions to my own entry points in an opt pass, but it's currently
> failing to get the file name and path back, though it is
2010 Sep 07
1
[LLVMdev] help converting llvm metadata into dwarf tags
hi Devang and thanks for the tips, i finally managed to fit all the pieces
together into something that seems to work.
It's probably not the best (or even correct!) way of doing it but here's a
brief overview for reference:
An instruction in the LLVM IR gets converted into an SDNode in the DAG then
later into a MachineInstr.
I'd already attached my own MDNodes to IR instructions I
2005 Jul 11
2
[LLVMdev] Mod for using GAS with MS VC++
>> Here is a mod to X86 that allows GAS to be used with MS Visual C++.
>>
>> I introduces a 'forWindows' variable like 'forCygwin' in th
>> X86SharedAsmPrinter class.
>>
>
> A couple of comments:
>
> 1. Please send patches instead of full files. The best way to do this is
> to use CVS like this: 'cvs diff -u' in the
2010 May 19
0
[LLVMdev] ARM EABI Exceptions
Hello, Renato
> Are you actively working in that area?
No, I started to experiment with ARM EH ~year ago, but never had
anything complete, unfortunately
> My main concern is that DwarfException is not extensible at all. I can't inherit from it (DwarfWriter creates it directly) and there are no call backs to target-specific code (nor registration of such mechanism).
Why do you need
2008 Jun 17
1
[LLVMdev] [PATCH]: DwarfWriter fix
Anton Korobeynikov wrote:
> 2. It can be, that debug information emitted is not correct. This is
> known open problem.
>
The attached patch fixes the problem with the line information.
For the "AT_stmt_list" attribute of the compilation unit entry, DWARF-2
specification says:
> A DW_AT_stmt_list attribute whose value is a reference to line number
> information for
2008 Jul 17
3
[LLVMdev] RFC: debug_line Emission
In CodeGen/DwarfWriter.cpp's EmitDebugLine file, these lines are
causing havoc on Mac OS X systems:
// If there are no lines to emit (such as when we're using .loc
directives
// to emit .debug_line information) don't emit a .debug_line
header.
if (SectionSourceLines.empty())
return;
Basically, if there's a file with only data in it, we still need the
debug_line
2007 Dec 12
3
[LLVMdev] Exception handling in JIT
Hi Evan,
My apologies: I've been so excited on sharing the functionality that I
forgot to review my patch!
Evan Cheng wrote:
> On Dec 10, 2007, at 9:52 AM, Nicolas Geoffray wrote:
>
>
>> Hi everyone,
>>
>> Here's a patch that enables exception handling when jitting. I've
>> copy/pasted _many_code from lib/Codegen/DwarfWriter.cpp, so we may
2009 Jun 28
3
[LLVMdev] Error when running llc to compile .bc to .s
Dear staff,
I downloaded an llvm version from the svn trunk at June 12,
because the released 2.5 version can not support "gcc -g -Ox", and
x=1,2,3. I use the version in svn to compile an httpd.bc file
succefully with dbgstoppoint() functions. However, when I use llc to
compile the bc file to .s file (llc -f -o httpd.s httpd.bc), I met
this error (the httpd.bc file will be
2010 May 18
6
[LLVMdev] ARM EABI Exceptions
> -----Original Message-----
> From: Anton Korobeynikov [mailto:anton at korobeynikov.info]
>
> Neither llvm-gcc nor clang support exceptions on ARM (except, maybe,
> sjlj excheptions on arm/darwin). I have some patched uncommitted for
> EH on ARM but they are too far from being complete.
Hi Anton,
Are you actively working in that area? I did some experiments and managed to