Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] LLVM 2.9 metadata"
2011 Dec 15
0
[LLVMdev] LLVM 2.9 metadata
On Dec 15, 2011, at 2:32 AM, Seb wrote:
> Hi all,
>
> In LLVM documentation about source level debugging (http://www.llvm.org/releases/2.9/docs/SourceLevelDebugging.html)
>
>
> Subprogram descriptor is defined as:
>
> !2 = metadata !{
> i32, ;; Tag = 46 + LLVMDebugVersion
> ;; (DW_TAG_subprogram)
>
> i32, ;; Unused field.
>
2011 Dec 16
2
[LLVMdev] LLVM 2.9 metadata
Hi Devang,
Not only "vtable ptr" is a problem, for this field it seems that CLANG
emits a NULL metadata node which is translated into 'i32 0'. The other
problem is for 'isArtificial' field with is described as being of type i1
and CLANG emits i32. Looking at sources, it seems that it should be a i32
flag field.
Hope this helps,
Best Regards
Seb
2011/12/15 Devang
2012 Jan 16
2
[LLVMdev] Need more information on llvm.dbg.value call
Hi all,
I'm using clang + LLVM 2.9. Let's consider following code sample:
extern void bar(int x) ;
void foo(int y)
{
bar(y) ;
}
When compiled with clang at -O2 -g I've got following LLVM file:
; ModuleID = 'localvar.c'
target datalayout =
2011 Aug 16
1
[LLVMdev] Missing metadata for volatile variables
Hi everyone,
I am using the dragonegg plugin to produce bitcode for the following
small C program:
int main() {
1: int x = -5;
2: x = 6;
3: return 0;
}
The assignments on lines 1 and 2 are removed even when no optimization
flags are specified. I tried making variable "x" volatile, which
prevents the assignments from being removed, however I am no longer
able to recover the original
2012 Feb 28
0
[LLVMdev] inspecting value of formal parameter in gdb for x86
Hi all,
I'm generating code using CLANG + LLVM 2.9 and would like to inspect formal
parameter value for x86 32-bit when -O2 -g is used.
It seems that when code is optimized by the compiler DWARF information
generated doesn't allow to inspect value of parameter.
Trying to inspect parameter value in GDB, parameter is marked as optimized
by the compiler and thus I can't track its value.
2011 Apr 27
1
[LLVMdev] LLVM internal getDirectory() for LexicalBlock debug information returns filename?
Hi,
For my project, I am using internal llvm class functions to print the
filename and directory associated with an instruction from the debug
information.
With a recent checkout of llvm and clang (svn revision 129445), the
following custom code (e.g. in a pass that prints directory info for
all instructions) returns the filename iso. directory whenever Scope
refers to a lexical block:
if (const
2011 Apr 30
2
[LLVMdev] DWARF not being generated for local variable, though MD looks right(?)
I'm running into a problem with generating debugging information that I'm not sure how to debug; I'd be happy to have some suggestions about where to start digging in.
In short, I believe that I'm correctly generating debug info (with DIBuilder, which has so far been quite nice!), and a scan of the meta-data in the IR looks generally right. However, if I run dwarfdump on my
2012 Mar 02
2
[LLVMdev] Question on debug information
Hi all,
I'm using my own front-end to generate following code .ll file targeting
x86 32-bit:
; ModuleID = 'check.c'
target datalayout =
"e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32-n8:16:32"
target triple = "i386-pc-linux-gnu"
@.str581 = internal constant [52 x i8] c"---- test number %d
2012 Mar 06
0
[LLVMdev] Question on debug information
Hi all,
Anyone have ideas/info on this topic ?
Thanks
Seb
2012/3/2 Seb <babslachem at gmail.com>
> Hi all,
>
> I'm using my own front-end to generate following code .ll file targeting
> x86 32-bit:
>
> ; ModuleID = 'check.c'
> target datalayout =
>
2012 Mar 06
2
[LLVMdev] Question on debug information
On Mar 6, 2012, at 5:31 AM, Seb <babslachem at gmail.com> wrote:
> Hi all,
>
> Anyone have ideas/info on this topic ?
> Thanks
> Seb
>
> 2012/3/2 Seb <babslachem at gmail.com>
> Hi all,
>
> I'm using my own front-end to generate following code .ll file targeting x86 32-bit:
>
> ; ModuleID = 'check.c'
> target datalayout =
2011 May 02
0
[LLVMdev] DWARF not being generated for local variable, though MD looks right(?)
On Apr 29, 2011, at 5:49 PM, Matt Pharr wrote:
> I'm running into a problem with generating debugging information that I'm not sure how to debug; I'd be happy to have some suggestions about where to start digging in.
>
> In short, I believe that I'm correctly generating debug info (with DIBuilder, which has so far been quite nice!), and a scan of the meta-data in the IR
2013 Feb 07
3
[LLVMdev] Is there a way to verify that debug info metadata are correct ?
Hi all,
I'm using my own front-end that generates LLVM debug info metadata. I was using LLVM 2.9 debug version and I'm moving to LLVM 3.2 debug version of metadata.
On my example I got llc 3.2 to fail on following assertion:
llc: /work1/tools/llvm/3.2/sources/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:1471: void llvm::DwarfDebug::endFunction(const llvm::MachineFunction*): Assertion `TheCU
2012 Mar 07
0
[LLVMdev] Question on debug information
Hi Jim,
Thanks for the advice. Since I'm using LLVM 2.9 style of debug information.
Will this code benefit from those improvement or should I generate LLVM 3.0
style of debug information ?
Best Regards
Seb
2012/3/6 Jim Grosbach <grosbach at apple.com>
>
> On Mar 6, 2012, at 5:31 AM, Seb <babslachem at gmail.com> wrote:
>
> Hi all,
>
> Anyone have ideas/info on
2011 Dec 07
2
[LLVMdev] Generating DWARF information that pretends an outparam is the return value
On Dec 6, 2011, at 4:13 PM, Devang Patel wrote:
> Hi Josh,
>
> On Dec 4, 2011, at 9:33 PM, Josh Matthews wrote:
>
>> I'm working on generating debug information for Rust, and I'm
>> currently stumped on how to generate DWARF output via LLVM that will
>> correctly represent this (eg. when exiting from foo2(), I'd like to
>> see "Value returns
2012 Nov 09
2
[LLVMdev] fmac generation for cortex-a9
Hi Renato,
It's definitively not A15. Can this be the case that NEON units for cortex-A9 support it but isn't documented/recommended ?
And as mentioned before code is working !
Seb
> -----Original Message-----
> From: rengolin at gmail.com [mailto:rengolin at gmail.com] On Behalf Of
> Renato Golin
> Sent: Friday, November 09, 2012 6:27 PM
> To: Sebastien DELDON-GNB
>
2012 Nov 09
0
[LLVMdev] fmac generation for cortex-a9
cat /proc/cpuinfo ?
Are you sure it's generating VFMA and not VMLA?
On Fri, Nov 9, 2012 at 9:35 AM, Sebastien DELDON-GNB <
sebastien.deldon at st.com> wrote:
> Hi Renato,
>
> It's definitively not A15. Can this be the case that NEON units for
> cortex-A9 support it but isn't documented/recommended ?
> And as mentioned before code is working !
>
> Seb
>
2012 Nov 09
2
[LLVMdev] fmac generation for cortex-a9
Hi Bastien,
Weird gcc is generating fma for my platform STEricsson Novathor with Linaro, code works. It also works when I use LLVM to generate fma (using llc -mtriple=armv7-eabi). Maybe someone from ARM can answer the question ?
Seb
From: JF Bastien [mailto:jfb at google.com]
Sent: Friday, November 09, 2012 5:36 PM
To: Sebastien DELDON-GNB
Cc: Anitha Boyapati; llvmdev at cs.uiuc.edu
Subject:
2011 Dec 07
0
[LLVMdev] Generating DWARF information that pretends an outparam is the return value
Hi Josh,
On Dec 4, 2011, at 9:33 PM, Josh Matthews wrote:
> I'm working on generating debug information for Rust, and I'm
> currently stumped on how to generate DWARF output via LLVM that will
> correctly represent this (eg. when exiting from foo2(), I'd like to
> see "Value returns is $1 = 5"). I'm generating debug metadata nodes
> directly instead of
2011 Mar 07
1
[LLVMdev] DW_TAG_lexical_block structure in debug information
Hello,
The documentation for debug information
(http://llvm.org/docs/SourceLevelDebugging.html) says the structure of
block descriptors metadata is:
!3 = metadata !{
i32, ;; Tag = 11 + LLVMDebugVersion (DW_TAG_lexical_block)
metadata,;; Reference to context descriptor
i32, ;; Line number
i32 ;; Column number
}
However, looking at the generated metadata, there are 2 extra
2012 Nov 08
2
[LLVMdev] fmac generation for cortex-a9
Hi Anitha,
Thanks for your answer but -mcpu=cortex-a9 -mattr=+vfp4 doesn' t enable fused mac generation for me.
I would like just to understand why -mtriple=armv7-eabi enables it while -mcpu=cortex-a9 seems to disable it ?
Seb
> -----Original Message-----
> From: Anitha Boyapati [mailto:anitha.boyapati at gmail.com]
> Sent: Thursday, November 08, 2012 10:22 AM
> To: Sebastien