Displaying 3 results from an estimated 3 matches for "73986ba0".
2008 May 06
0
[LLVMdev] debugging LLVM generated executables???
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 -load=mypass.dylib -mypass < helloworld.o > helloworld-mypass.o
llc -fast -f -o helloworld.s helloworld-mypass.o
as -o helloworld-prime.o
gcc -o helloworld helloworld-prime.o
gdb helloworld
On May 5, 2008, at
2008 May 05
2
[LLVMdev] debugging LLVM generated executables???
Hi everyone,
I have a question that seems simple, but has been confounding me for
several hours. I'd like to debug a binary produced with LLVM. For
the life of me, I can't get any symbols into gdb and llvm-db won't
even start the program nor load any useful information about it.
Here's my current strategy (which isn't working):
llvm-gcc -g -O0 -c -emit-llvm
2008 May 06
2
[LLVMdev] debugging LLVM generated executables???
...iuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4260 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080505/73986ba0/attachment.bin>