Displaying 20 results from an estimated 40000 matches similar to: "[LLVMdev] Debug Information for LLVM 2.6 and TOT"
2009 Nov 04
0
[LLVMdev] Debug Information for LLVM 2.6 and TOT
Hi John,
On Wed, Nov 4, 2009 at 12:04 PM, John Criswell <criswell at uiuc.edu> wrote:
> Dear All,
>
> 1) I recall reading somewhere that a few optimizations in LLVM 2.6 strip
> away debug information when such information interferes with
> optimization. Is this correct,
Yes.
> and if so, does anyone know off-hand
> which optimizations do this?
The optimizer does not
2009 Nov 05
2
[LLVMdev] Debug Information for LLVM 2.6 and TOT
Devang Patel wrote:
> Hi John,
>
> On Wed, Nov 4, 2009 at 12:04 PM, John Criswell <criswell at uiuc.edu> wrote:
>
>> Dear All,
>>
>> 1) I recall reading somewhere that a few optimizations in LLVM 2.6 strip
>> away debug information when such information interferes with
>> optimization. Is this correct,
>>
>
> Yes.
>
>
2009 Nov 05
0
[LLVMdev] Debug Information for LLVM 2.6 and TOT
Hi John,
On Thu, Nov 5, 2009 at 8:43 AM, John Criswell <criswell at uiuc.edu> wrote:
> Does the debug facilities in LLVM TOT, at present, maintain information
> better than LLVM 2.6 (i.e., if a front-end puts the debug information in,
> will the optimizations not take it out)? Does the information that the
> llvm-gcc front-end adds comparable to what llvm-gcc in LLVM 2.6 does?
2011 Apr 15
0
[LLVMdev] Valid debug information being deleted by DAGCombiner
On Apr 15, 2011, at 2:21 PM, Villmow, Micah wrote:
> John/Richard,
> I think I have found the problem to why the debug information is getting destroyed. The problem is in SelectionDAG and how it interacts with the SDDbgValue nodes and custom SDNodes.
>
> When the dbg_value intrinsic is encountered, it adds the debug value to a specific SD Node in
2011 Apr 15
2
[LLVMdev] Valid debug information being deleted by DAGCombiner
John/Richard,
I think I have found the problem to why the debug information is getting destroyed. The problem is in SelectionDAG and how it interacts with the SDDbgValue nodes and custom SDNodes.
When the dbg_value intrinsic is encountered, it adds the debug value to a specific SD Node in SelectionDAGBuilder.cpp::visitIntrinsicCall(). In one of my cases, it is vector_extract_elt.
During
2010 Jul 20
3
[LLVMdev] gold and debug information
On Tue, Jul 20, 2010 at 6:49 AM, Rafael Espindola <espindola at google.com> wrote:
>> export PATH="$LLVMPREFIX/bin:$LLVMGCCPREFIX/bin:$PATH"
>> export CC="llvm-gcc -use-gold-plugin -Wl,-plugin-opt=also-emit-llvm"
>> export CXX="llvm-g++ -use-gold-plugin -Wl,-plugin-opt=also-emit-llvm"
>> export RANLIB=/bin/true
>> export
2009 Sep 01
0
[LLVMdev] TOT broken
Yes, this is pretty unacceptable IMHO.
I would go revert crazy if I knew what to hit, unfortunately I don't.
Currently I believe there are two problems, a CallGraphSCC assert
which is firing everywhere (including the clang test suite, *cough*).
This started with 80698. Chris is working on this (if it isn't already
fixed).
The bootstrap comparison failures are being looked at by Devang.
2009 Sep 01
4
[LLVMdev] TOT broken
The buildbots are unhappy again. :-(
Specifically, the "llvm-gcc-i386-darwin9" buildbot here at Apple last
compiled TOT successfully yesterday morning (31aug); that was revision
80586. By revision 80589, the bootstrap failed due to a miscompare,
and by revision 80610, it's aborting while compiling little pieces of
libgcc.
80586 built O.K. (about 8AM, Pacific Standard
2008 Mar 18
1
[LLVMdev] Build problem in TOT llvm
On Mar 17, 2008, at 6:22 PM, Devang Patel wrote:
>
> On Mar 17, 2008, at 5:46 PM, Dale Johannesen wrote:
>
>> I'm getting a lot of these from TOT make:
>>
>> /Volumes/MacOS9/gcc/llvm/include/llvm/Analysis/LoopInfo.h: In
>> instantiation of 'llvm::LoopInfoBase<llvm::BasicBlock>':
>>
2008 Mar 18
2
[LLVMdev] Build problem in TOT llvm
I'm getting a lot of these from TOT make:
/Volumes/MacOS9/gcc/llvm/include/llvm/Analysis/LoopInfo.h: In
instantiation of 'llvm::LoopInfoBase<llvm::BasicBlock>':
/Volumes/MacOS9/gcc/llvm/include/llvm/Analysis/LoopInfo.h:886:
instantiated from here
/Volumes/MacOS9/gcc/llvm/include/llvm/Analysis/LoopInfo.h:573:
warning: 'class
2009 Jul 09
0
[LLVMdev] Source file information.
On Thursday 09 July 2009 10:01, John Criswell wrote:
> Dear All,
>
> To add to this, what you want to do is find the appropriate debug stop
> point intrinsic and then use it to look up the information for that
> instruction.
Ick. So line number information is only available at debug stop points?
That's bad when compiling optimized code since the debug stops kill
optimization,
2011 Jul 08
7
[LLVMdev] How to get line number of a function in a bitcode file?
Hi All,
I hope to get some information about functions in a bitcode file. Say, if we
have a function foo(), and the bitcode file is generated by a single source
file, then I want to get the line number foo() locates in that source file.
If the bitcode file is linked by multiple bitcode files, is it possible to also
get which file foo() locates in?
Thanks,
Chen
-------------- next part
2011 Apr 15
1
[LLVMdev] Valid debug information being deleted by DAGCombiner
Thanks Devang.
Is there any plan on making this implicit in the node creation? Or instead of using DebugLoc in SelectionDAG, use SDDbgValue's instead, or embedding the SDDbgValue in the debug loc itself somehow? This seems like something that shouldn't have to be handled on a case by case basis in the backends.
Your thoughts?
Thanks,
Micah
From: Devang Patel [mailto:dpatel at
2008 Oct 10
2
[LLVMdev] Debug Information
Dear All,
Are there a set of libraries for easily manipulating the LLVM debug
information? For example, given an Instruction *, is there an interface
that will find the nearest llvm.dbg.stoppoint(), or given an alloca, is
there an interface for getting its source level information by tracing
it to a llvm.dbg.declare()?
As far as I know, no such utility interfaces exist. While I can role my
2008 Mar 18
0
[LLVMdev] Build problem in TOT llvm
On Mar 17, 2008, at 5:46 PM, Dale Johannesen wrote:
> I'm getting a lot of these from TOT make:
>
> /Volumes/MacOS9/gcc/llvm/include/llvm/Analysis/LoopInfo.h: In
> instantiation of 'llvm::LoopInfoBase<llvm::BasicBlock>':
> /Volumes/MacOS9/gcc/llvm/include/llvm/Analysis/LoopInfo.h:886:
> instantiated from here
>
2007 Dec 17
3
[LLVMdev] Bug 1868: Specifying Pass Orderings
Dear Devang Patel,
In response to your comment on bug 1868, how do I get BottomPass to
requires Pass2 before Pass1? Is it by reversing the order of the calls
to AU.addRequired()?
-- John T.
--
John T. Criswell
jcriswel at bigw.org
"It's today!" said Piglet. "My favorite day," said Pooh.
2008 Oct 10
0
[LLVMdev] Debug Information
On Oct 10, 2008, at 1:43 PM, John Criswell wrote:
> Dear All,
>
> Are there a set of libraries for easily manipulating the LLVM debug
> information? For example, given an Instruction *, is there an
> interface
> that will find the nearest llvm.dbg.stoppoint(), or given an alloca,
> is
> there an interface for getting its source level information by tracing
> it to
2010 Dec 19
2
[LLVMdev] About the information about live variable analysis
Hi,
I worked in llvm to get some information from live variable analysis.
If the live range of one variable interferes with another, we could record
the related two variables into a pair. For example, with a function with
local variables 'a', 'b', 'c', 'x' and 'y', the pair set { (a, b), (b,c),
(x,y)} indicates that 'a' interferes with 'b',
2009 Sep 10
10
[LLVMdev] [PROPOSAL] Attach debugging information with LLVM instruction
Hi All,
Today, debugging information is encoded in LLVM IR using various
llvm.dbg intrinsics, such as llvm.dbg.stoppoint. For exmaple,
!1 = metadata !{i32 458769, i32 0, i32 12, metadata !"foo.c", metadata
!"/tmp", metadata !"clang 1.0", i1 true, i1 false, metadata !"", i32
0}
...
call void @llvm.dbg.stoppoint(i32 5, i32 5, metadata !1)
store i32
2010 Jul 22
2
[LLVMdev] gold and debug information
On Wed, Jul 21, 2010 at 9:50 AM, Jeffrey Yasskin <jyasskin at google.com> wrote:
>> This (Unknown constant! in bitcode writer when -g is used) is a known
>> bug in CloneModule, because it is not cloning MDNodes appropriately.
>
> What's the link to the bug report? Are you fixing it?
PR 7689. Fixed in r109117.
-
Devang