Displaying 17 results from an estimated 17 matches for "reflectiontest".
2009 Nov 27
3
[LLVMdev] New debugging APIs
I'm attempting to get my compiler to use the new APIs for source-level
debugging via SetCurrentDebugLocation(). I'm getting a lot of "duplicate
symbol" errors in my generated assembly code:
ReflectionTest.s:348: Error: symbol `.Lfunc_end6' is already defined
ReflectionTest.s:372: Error: symbol `.Lfunc_end6' is already defined
ReflectionTest.s:395: Error: symbol `.Lfunc_end6' is already defined
ReflectionTest.s:421: Error: symbol `.Lfunc_end6' is already defined
ReflectionTest.s:443:...
2009 Nov 29
0
[LLVMdev] New debugging APIs
Talin wrote:
> I'm attempting to get my compiler to use the new APIs for source-level
> debugging via SetCurrentDebugLocation(). I'm getting a lot of "duplicate
> symbol" errors in my generated assembly code:
>
> ReflectionTest.s:348: Error: symbol `.Lfunc_end6' is already defined
> ReflectionTest.s:372: Error: symbol `.Lfunc_end6' is already defined
> ReflectionTest.s:395: Error: symbol `.Lfunc_end6' is already defined
> ReflectionTest.s:421: Error: symbol `.Lfunc_end6' is already defined
> Re...
2009 Nov 30
1
[LLVMdev] New debugging APIs
...idia at gmail.com> wrote:
> Talin wrote:
>> I'm attempting to get my compiler to use the new APIs for source-level
>> debugging via SetCurrentDebugLocation(). I'm getting a lot of "duplicate
>> symbol" errors in my generated assembly code:
>>
>> ReflectionTest.s:348: Error: symbol `.Lfunc_end6' is already defined
>> ReflectionTest.s:372: Error: symbol `.Lfunc_end6' is already defined
>> ReflectionTest.s:395: Error: symbol `.Lfunc_end6' is already defined
>> ReflectionTest.s:421: Error: symbol `.Lfunc_end6' is already def...
2009 Oct 19
2
[LLVMdev] Still can't get source-level debugging to work
...messages in this topic on the subject, and I still can't figure it out.
-- I'm disabling frame pointer elimination via "-disable-fp-elim"
-- I see debugging information in my .s file.
-- My command line for compiling the LLVM-generated looks like this:
gcc -g -O0 -x assembler ReflectionTest.s -o ReflectionTest
-L/Users/talin/Projects/tart/build-eclipse/runtime -l runtime
-- here's what I see when I run 'dwarfdump':
> dwarfdump test/stdlib/ReflectionTest
----------------------------------------------------------------------
File: test/stdlib/ReflectionTest (i386)
-----...
2010 Nov 07
3
[LLVMdev] Next round of DWARF issues/questions
...t all of the field offsets are zero as well - see
the DIEs immediately following the class definition.
#2) I can't seem to get llvm.dbg.declare() to work for local variables,
although it appears to work fine for function parameters. For example, look
at the following snippet of IR:
define {} @ReflectionTest.testModuleReflection(%ReflectionTest* %self) gc
"tart-gc" {
prologue:
%m = alloca %tart.reflect.Module*
call void @llvm.dbg.value(metadata !{%ReflectionTest* %self}, i64 0,
metadata !1176)
call void @llvm.dbg.declare(metadata !{%tart.reflect.Module** %m},
metadata !1177)
%0 = bitc...
2010 Nov 08
0
[LLVMdev] Next round of DWARF issues/questions
...ffsets are zero as well - see the DIEs immediately following the class definition.
>
> #2) I can't seem to get llvm.dbg.declare() to work for local variables, although it appears to work fine for function parameters. For example, look at the following snippet of IR:
>
> define {} @ReflectionTest.testModuleReflection(%ReflectionTest* %self) gc "tart-gc" {
> prologue:
> %m = alloca %tart.reflect.Module*
> call void @llvm.dbg.value(metadata !{%ReflectionTest* %self}, i64 0, metadata !1176)
> call void @llvm.dbg.declare(metadata !{%tart.reflect.Module** %m}, metadat...
2010 Nov 09
2
[LLVMdev] Next round of DWARF issues/questions
...ro as well -
> see the DIEs immediately following the class definition.
>
> #2) I can't seem to get llvm.dbg.declare() to work for local variables,
> although it appears to work fine for function parameters. For example, look
> at the following snippet of IR:
>
> define {} @ReflectionTest.testModuleReflection(%ReflectionTest* %self) gc
> "tart-gc" {
> prologue:
> %m = alloca %tart.reflect.Module*
> call void @llvm.dbg.value(metadata !{%ReflectionTest* %self}, i64 0,
> metadata !1176)
> call void @llvm.dbg.declare(metadata !{%tart.reflect.Module** %m...
2010 Nov 09
0
[LLVMdev] Next round of DWARF issues/questions
...as well - see the DIEs immediately following the class definition.
>>
>> #2) I can't seem to get llvm.dbg.declare() to work for local variables, although it appears to work fine for function parameters. For example, look at the following snippet of IR:
>>
>> define {} @ReflectionTest.testModuleReflection(%ReflectionTest* %self) gc "tart-gc" {
>> prologue:
>> %m = alloca %tart.reflect.Module*
>> call void @llvm.dbg.value(metadata !{%ReflectionTest* %self}, i64 0, metadata !1176)
>> call void @llvm.dbg.declare(metadata !{%tart.reflect.Modul...
2010 Nov 26
3
[LLVMdev] Next round of DWARF issues/questions
...e DIEs immediately following the class definition.
>>
>> #2) I can't seem to get llvm.dbg.declare() to work for local variables,
>> although it appears to work fine for function parameters. For example, look
>> at the following snippet of IR:
>>
>> define {} @ReflectionTest.testModuleReflection(%ReflectionTest* %self) gc
>> "tart-gc" {
>> prologue:
>> %m = alloca %tart.reflect.Module*
>> call void @llvm.dbg.value(metadata !{%ReflectionTest* %self}, i64 0,
>> metadata !1176)
>> call void @llvm.dbg.declare(metadata !{%...
2010 Aug 22
2
[LLVMdev] "Cannot fine DIE"
I recently started getting this error when I try to debug my LLVM-compiled
program in GDB:
Dwarf Error: Cannot find DIE at 0x16769 referenced from DIE at 0x1713c
[in module
/home/talin/Projects/tart/build-eclipse/test/stdlib/ReflectionTest]
I'm not sure if it's something I did or not. Is there any way to track down
the cause of this error? The hex addresses in the error message are
meaningless to me.
--
-- Talin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/piperm...
2009 Oct 19
0
[LLVMdev] Still can't get source-level debugging to work
> warning: Could not find object file
> "/var/folders/h6/h6He5G34EF8g9zpg3SNFF++++TI/-Tmp-//ccoTexQw.o" - no debug
> information available for "ReflectionTest.tart".
It seems you're on darwin, right? Then you need another build steps in
order to see dwarf stuff
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
2010 Nov 26
0
[LLVMdev] Next round of DWARF issues/questions
...wing the class definition.
>>>
>>> #2) I can't seem to get llvm.dbg.declare() to work for local variables,
>>> although it appears to work fine for function parameters. For example, look
>>> at the following snippet of IR:
>>>
>>> define {} @ReflectionTest.testModuleReflection(%ReflectionTest* %self) gc
>>> "tart-gc" {
>>> prologue:
>>> %m = alloca %tart.reflect.Module*
>>> call void @llvm.dbg.value(metadata !{%ReflectionTest* %self}, i64 0,
>>> metadata !1176)
>>> call void @llvm....
2010 Aug 24
0
[LLVMdev] "Cannot fine DIE"
...lin <viridia at gmail.com> wrote:
> I recently started getting this error when I try to debug my LLVM-compiled
> program in GDB:
>
> Dwarf Error: Cannot find DIE at 0x16769 referenced from DIE at 0x1713c
> [in module
> /home/talin/Projects/tart/build-eclipse/test/stdlib/ReflectionTest]
>
> I'm not sure if it's something I did or not. Is there any way to track down
> the cause of this error? The hex addresses in the error message are
> meaningless to me.
>
There is not much info here. The error says one debug info entry (DIE) is
referring to another debug...
2010 Aug 28
2
[LLVMdev] "Cannot fine DIE"
...> wrote:
>
>> I recently started getting this error when I try to debug my LLVM-compiled
>> program in GDB:
>>
>> Dwarf Error: Cannot find DIE at 0x16769 referenced from DIE at 0x1713c
>> [in module
>> /home/talin/Projects/tart/build-eclipse/test/stdlib/ReflectionTest]
>>
>> I'm not sure if it's something I did or not. Is there any way to track
>> down the cause of this error? The hex addresses in the error message are
>> meaningless to me.
>>
>
> There is not much info here. The error says one debug info entry (DIE) i...
2010 Aug 29
0
[LLVMdev] "Cannot fine DIE"
...;> I recently started getting this error when I try to debug my
>>> LLVM-compiled program in GDB:
>>>
>>> Dwarf Error: Cannot find DIE at 0x16769 referenced from DIE at
>>> 0x1713c [in module
>>> /home/talin/Projects/tart/build-eclipse/test/stdlib/ReflectionTest]
>>>
>>> I'm not sure if it's something I did or not. Is there any way to track
>>> down the cause of this error? The hex addresses in the error message are
>>> meaningless to me.
>>>
>>
>> There is not much info here. The error says...
2009 Oct 19
2
[LLVMdev] Still can't get source-level debugging to work
...am on darwin.
On Mon, Oct 19, 2009 at 12:17 AM, Anton Korobeynikov <
anton at korobeynikov.info> wrote:
> > warning: Could not find object file
> > "/var/folders/h6/h6He5G34EF8g9zpg3SNFF++++TI/-Tmp-//ccoTexQw.o" - no
> debug
> > information available for "ReflectionTest.tart".
> It seems you're on darwin, right? Then you need another build steps in
> order to see dwarf stuff
>
> --
> With best regards, Anton Korobeynikov
> Faculty of Mathematics and Mechanics, Saint Petersburg State University
>
--
-- Talin
-------------- next par...
2010 Sep 01
2
[LLVMdev] "Cannot fine DIE"
...rted getting this error when I try to debug my
>>>> LLVM-compiled program in GDB:
>>>>
>>>> Dwarf Error: Cannot find DIE at 0x16769 referenced from DIE at
>>>> 0x1713c [in module
>>>> /home/talin/Projects/tart/build-eclipse/test/stdlib/ReflectionTest]
>>>>
>>>> I'm not sure if it's something I did or not. Is there any way to track
>>>> down the cause of this error? The hex addresses in the error message are
>>>> meaningless to me.
>>>>
>>>
>>> There is not muc...