Displaying 5 results from an estimated 5 matches for "rp2rwope".
2008 May 07
2
[LLVMdev] debugging LLVM generated executables???
...Mark Oskin wrote:
>
>> I think you probably need to pass -O0 to llvm-ld. The link-time
>> optimizations are probably killing your debug info.
>>
> No dice. Doing it this way makes gdb spew out this:
>
> warning: Could not find object file "/var/folders/cQ/cQ+L3+RP2RWOpE
> +8ZNQdPU+++TI/-Tmp-//ccVljWhn.o" - no debug information available for
> "defs.h"
>
> And then no debug symbols are available.
>
> I also discovered a major down side to the "solution" I found last
> night. While the line number data does get successf...
2008 May 06
0
[LLVMdev] debugging LLVM generated executables???
> I think you probably need to pass -O0 to llvm-ld. The link-time
> optimizations are probably killing your debug info.
>
No dice. Doing it this way makes gdb spew out this:
warning: Could not find object file "/var/folders/cQ/cQ+L3+RP2RWOpE
+8ZNQdPU+++TI/-Tmp-//ccVljWhn.o" - no debug information available for
"defs.h"
And then no debug symbols are available.
I also discovered a major down side to the "solution" I found last
night. While the line number data does get successfully transfered
into gdb,...
2008 May 07
0
[LLVMdev] debugging LLVM generated executables???
...>>> I think you probably need to pass -O0 to llvm-ld. The link-time
>>> optimizations are probably killing your debug info.
>>>
>> No dice. Doing it this way makes gdb spew out this:
>>
>> warning: Could not find object file "/var/folders/cQ/cQ+L3+RP2RWOpE
>> +8ZNQdPU+++TI/-Tmp-//ccVljWhn.o" - no debug information available for
>> "defs.h"
>>
>> And then no debug symbols are available.
>>
>> I also discovered a major down side to the "solution" I found last
>> night. While the line n...
2008 May 06
2
[LLVMdev] debugging LLVM generated executables???
I think you probably need to pass -O0 to llvm-ld. The link-time
optimizations are probably killing your debug info.
--Owen
On May 5, 2008, at 8:21 PM, Mark Oskin wrote:
> Hi everyone again,
>
> I did discover the following works (see below). However, does anyone
> know of the "proper" way with LLVM?
>
> llvm-gcc -g -c -emit-llvm helloworld.c
> opt
2008 May 07
1
[LLVMdev] debugging LLVM generated executables???
...you probably need to pass -O0 to llvm-ld. The link-time
>>>> optimizations are probably killing your debug info.
>>>>
>>> No dice. Doing it this way makes gdb spew out this:
>>>
>>> warning: Could not find object file "/var/folders/cQ/cQ+L3+RP2RWOpE
>>> +8ZNQdPU+++TI/-Tmp-//ccVljWhn.o" - no debug information available
>>> for
>>> "defs.h"
>>>
>>> And then no debug symbols are available.
>>>
>>> I also discovered a major down side to the "solution" I found...