[llvm-commits] CVS: llvm/test/DebugInfo/2006-11-06-StackTrace.cpp

Jeff Cohen jeffc at jolt-lang.org
Sat May 5 15:09:25 PDT 2007


Chris Lattner wrote:
>
> On May 5, 2007, at 2:49 PM, Jeff Cohen wrote:
>
>> Chris Lattner wrote:
>>> On May 5, 2007, at 2:03 PM, Jeff Cohen wrote:
>>>> Are you sure that's the problem?  Even on my machine, where the OS
>>>> identifies the hardware as amd64, the test was correctly XFAILing.
>>>
>>> No, I'm not sure.  A better question is: why is this ppc specific? :)
>>>
>>> -Chris
>>
>> On my machine, anyway, the gdb stack trace shows that the debugging 
>> info is basically garbage.
>
> Ok, then it really is failing.
>
> -Chris
This is the output on my machine.  It looks better than when I last 
looked at it, but still leaves a lot to be desired.

Breakpoint 1 at 0x4007d0: file 2006-11-06-StackTrace.cpp, line 27.

Breakpoint 1, DeepStack::deepest (this=0x7fffffffe6c8, x=27) at 
2006-11-06-StackTrace.cpp:27
27        int deepest   ( int x ) { return x + 7; }
#0  DeepStack::deepest (this=0x7fffffffe6c8, x=27) at 
2006-11-06-StackTrace.cpp:27
#1  0x0000000000400821 in DeepStack::deeper (this=0x7fffffffe6c8, x=27) 
at 2006-11-06-StackTrace.cpp:26
#2  0x000000001f927800 in ?? ()
#3  0x000000001f90949a in find_symdef () from /libexec/ld-elf.so.1
#4  0x0000000000400881 in DeepStack::shallow (this=0x1fe7ca92, x=0) at 
2006-11-06-StackTrace.cpp:24
#5  0x000000001feee2f0 in strcspn () from /lib/libc.so.6
#6  0x000000001f927800 in ?? ()
#7  0x0000001400000002 in ?? ()
#8  0x00007fffffffe6c8 in ?? ()
#9  0x00007fffffffe660 in ?? ()
#10 0x00000000004008b1 in DeepStack::shallower (this=0x1fe7ca92, x=0) at 
2006-11-06-StackTrace.cpp:23
#11 0x0000000000000246 in ?? ()
#12 0x00000000ffffffff in ?? ()
#13 0x000000120000001c in ?? ()
#14 0x00007fffffffe6c8 in ?? ()
#15 0x00007fffffffe690 in ?? ()
#16 0x00000000004008e0 in DeepStack::shallowest (this=0x1fe7ca92, x=0) 
at 2006-11-06-StackTrace.cpp:22
#17 0x0000000000000000 in ?? ()
#18 0x0000000000000002 in ?? ()
#19 0x00000011ffffe6f0 in ?? ()
#20 0x00007fffffffe6c8 in ?? ()
#21 0x00007fffffffe6b0 in ?? ()
#22 0x0000000000400909 in DeepStack::runit (this=0x1fe7ca92) at 
2006-11-06-StackTrace.cpp:29
#23 0x0000001100000000 in ?? ()
#24 0x00007fffffffe6c8 in ?? ()
#25 0x00007fffffffe6f0 in ?? ()
#26 0x0000000000400757 in main (argc=0, argv=0x1fe7ca72) at 
2006-11-06-StackTrace.cpp:35





More information about the llvm-commits mailing list