similar to: [LLVMdev] LexicalScope Debug Info - Line Number

Displaying 20 results from an estimated 600 matches similar to: "[LLVMdev] LexicalScope Debug Info - Line Number"

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
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
2010 Nov 26
0
[LLVMdev] Next round of DWARF issues/questions
On Thu, Nov 25, 2010 at 5:55 PM, Talin <viridia at gmail.com> wrote: > 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:
2011 Dec 15
2
[LLVMdev] LLVM 2.9 metadata
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 <http://www.llvm.org/releases/2.9/docs/SourceLevelDebugging.html#LLVMDebugVersion> ;; (DW_TAG_subprogram) i32, ;; Unused field. metadata, ;;
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
2013 Feb 21
2
[LLVMdev] llvm-ar llvm-link
Hi, I tried to build an llvm archive and link it against an llvm bc file. However, it fails. Following is the procedure I followed ( abc.c is file which calls a function whose definition is present in bcd.c) $ clang -c -emit-llvm abc.c $ clang -c -emit-llvm bcd.c $ llvm-ar cr bsd.ar bcd.o $ llvm-link abc.o bsd.ar llvm-link: bsd.ar:1:2: error: expected integer !<arch> ^ llvm-link:
2011 Jan 27
2
[LLVMdev] Question about compiling plugins for LLVM tools
When I load my plugin into opt or llc, I get a bunch of warnings: llc: CommandLine Error: Argument 'use-unknown-locations' defined more than once! llc: CommandLine Error: Argument 'disable-debug-info-print' defined more than once! llc: CommandLine Error: Argument 'print-dbgscope' defined more than once! llc: CommandLine Error: Argument 'disable-sched-hazard'
2013 Nov 20
2
[LLVMdev] bit code file incompatibility due to debug info changes
On Tue, Nov 19, 2013 at 5:26 PM, Manman Ren <manman.ren at gmail.com> wrote: > > > > On Mon, Nov 18, 2013 at 11:00 AM, Chandler Carruth <chandlerc at google.com>wrote: > >> >> On Mon, Nov 18, 2013 at 10:55 AM, David Blaikie <dblaikie at gmail.com>wrote: >> >>> It depends a bit, also, on what kind of guarantees we need to offer. If
2013 Nov 20
0
[LLVMdev] bit code file incompatibility due to debug info changes
On Mon, Nov 18, 2013 at 11:00 AM, Chandler Carruth <chandlerc at google.com>wrote: > > On Mon, Nov 18, 2013 at 10:55 AM, David Blaikie <dblaikie at gmail.com>wrote: > >> It depends a bit, also, on what kind of guarantees we need to offer. If >> the guarantee when reading IR from disk is "will not crash" then there's >> nothing for it but to run
2013 Feb 22
1
[LLVMdev] llvm-ar llvm-link
Hi Ahmad, Yes, merging works good. However, my problem is like this - I have a C library which consists of 1000's of functions spread through various files. The functions do not have dependency amoung each other. I want to link only relavant files( files which have functions called from my application). Since ar has a global symbol table, I believe it should be faster to look for a symol in
2013 Jan 23
3
[LLVMdev] OpenCL SPIR/NVPTX code generation
Hi Guy, Thanks a lot for the clarification. I tried using the triple for SPIR as $ clang -x cl -fno-builtin -emit-llvm -c -Xclang -triple -Xclang spir-unknown-unknown Simple_Kernel.cl However I get the following error. error: unknown target triple 'spir-unknown-unknown', please use -triple or -arch I also tried with triple nvptx-unknown-unknown clang -x cl -fno-builtin -emit-llvm -S
2011 Jul 01
2
[LLVMdev] LLVM Instr from MachineInstr
Hi, Is there any way to get a pointer to the LLVM Instr from which a particular MachineInstr is generated ? Although I understand it goes through many optimization after a LLVM instruction is converted to SDAG node, so maintaining such a mapping will be hard. Still is the mapping stored some where which can give some sane results at least in case of -O0? Thanks and regards, Ankur
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. >
2013 Nov 21
0
[LLVMdev] bit code file incompatibility due to debug info changes
On Tue, Nov 19, 2013 at 8:47 PM, Manman Ren <manman.ren at gmail.com> wrote: > > > > On Tue, Nov 19, 2013 at 5:26 PM, Manman Ren <manman.ren at gmail.com> wrote: > >> >> >> >> On Mon, Nov 18, 2013 at 11:00 AM, Chandler Carruth <chandlerc at google.com>wrote: >> >>> >>> On Mon, Nov 18, 2013 at 10:55 AM, David Blaikie
2012 Jun 06
2
[LLVMdev] llvm-dev 2012 meet videos
Hi, I am unable to download videos from the site http://llvm.org/devmtg/2012-04-12/. The response I always get is Proxy request sent, awaiting response... 503 Service Unavailable 2012-06-06 12:00:14 ERROR 503: Service Unavailable. If possible, please share the videos on other medium ( youtube etc.) too. This will spare LLVM web server from heavy traffic due to video downloads too. Thanks and
2013 Nov 21
3
[LLVMdev] bit code file incompatibility due to debug info changes
On Thu, Nov 21, 2013 at 10:38 AM, Manman Ren <manman.ren at gmail.com> wrote: > > > > On Tue, Nov 19, 2013 at 8:47 PM, Manman Ren <manman.ren at gmail.com> wrote: > >> >> >> >> On Tue, Nov 19, 2013 at 5:26 PM, Manman Ren <manman.ren at gmail.com> wrote: >> >>> >>> >>> >>> On Mon, Nov 18, 2013 at
2013 Nov 21
0
[LLVMdev] bit code file incompatibility due to debug info changes
On Thu, Nov 21, 2013 at 10:57 AM, David Blaikie <dblaikie at gmail.com> wrote: > > > > On Thu, Nov 21, 2013 at 10:38 AM, Manman Ren <manman.ren at gmail.com> wrote: > >> >> >> >> On Tue, Nov 19, 2013 at 8:47 PM, Manman Ren <manman.ren at gmail.com> wrote: >> >>> >>> >>> >>> On Tue, Nov 19, 2013 at
2013 Feb 21
0
[LLVMdev] llvm-ar llvm-link
Hi Ankur, Why do you need archive in this case? The other way of doing this is to merge all bitcode files into single file: $ clang -c -emit-llvm abc.c -o abc.bc $ clang -c -emit-llvm bcd.c -o bcd.bc llvm-link bcd.bc abc.bc -o merged.bc Cheers, Ahmad From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of ankur deshwal Sent: 21 February 2013 17:54 To:
2012 Jun 06
2
[LLVMdev] llvm-dev 2012 meet videos
On Wed, Jun 6, 2012 at 3:09 AM, Joey Gouly <joel.gouly at gmail.com> wrote: > There are plans to upload, when Chandler has the time. The YouTube account > is LLVMProject. > Should get them up this week. Sorry I didn't even remember to do it after they were posted! > Joey > On Jun 6, 2012 8:45 AM, "ankur deshwal" <a.s.deshwal at gmail.com> wrote: >
2011 Jul 01
2
[LLVMdev] Operand name missing
Hi, I was trying to use the following code in a if condition I->getOperand(0)->hasName() where I is an instruction with following condition already true - I->getOpcode() == Instruction::Call When I compiled a C code with llvm-2.9, I see a function call with no operand name (for operand 0) . This happens for a function with varArgs. The interesting part is that the same C code when