LLVM
LLVM
- Subject: LLVM
- From: Luca Ciciriello <email@hidden>
- Date: Thu, 9 Oct 2008 19:24:08 +0100
- Importance: Normal
Hi All.
I've just installed Xcode 3.1.1 and I'm really interested in developing my application using the technology LLVM.
To try some experiment I've take an old my C++ application and I've builded it using LLVM-GCC-4.2 as compiler choice in Xcode. All was fine. The problem is that when I try to debug this application the debugger start and suddenly exit whit the massage:
"Error from debugger: Dwarf error: cannot find type of die [in module /etc...]"
My build commands are:
CompileC build/SimKernel.build/Debug/ELVM.build/Objects-normal/ppc/EventListener.o /Users/luca/Research/Galileo/Australia/SimKernel_3.1/ELVM/Src/EventListener.cpp normal ppc c++ com.apple.compilers.llvmgcc42
cd /Users/luca/Research/Galileo/Australia/SimKernel_3.1
/Xcode3.1.1/usr/bin/llvm-gcc-4.2 -x c++ -arch ppc -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -pedantic -isysroot /Xcode3.1.1/SDKs/MacOSX10.5.sdk -mfix-and-continue -mtune=G4 -fvisibility-inlines-hidden -mmacosx-version-min=10.5 -gdwarf-2 -I/Users/luca/Research/Galileo/Australia/SimKernel_3.1/build/SimKernel.build/Debug/ELVM.build/ELVM.hmap -Wall -F/Users/luca/Research/Galileo/Australia/SimKernel_3.1/build/Debug -I/Users/luca/Research/Galileo/Australia/SimKernel_3.1/build/Debug/include -I/Users/luca/Research/Galileo/Australia/SimKernel_3.1/build/SimKernel.build/Debug/ELVM.build/DerivedSources -isysroot /Xcode3.1.1/SDKs/MacOSX10.5.sdk -c /Users/luca/Research/Galileo/Australia/SimKernel_3.1/ELVM/Src/EventListener.cpp -o /Users/luca/Research/Galileo/Australia/SimKernel_3.1/build/SimKernel.build/Debug/ELVM.build/Objects-normal/ppc/EventListener.o
CompileC build/SimKernel.build/Debug/ELVM.build/Objects-normal/ppc/Interpreter.o /Users/luca/Research/Galileo/Australia/SimKernel_3.1/ELVM/Src/Interpreter.cpp normal ppc c++ com.apple.compilers.llvmgcc42
cd /Users/luca/Research/Galileo/Australia/SimKernel_3.1
/Xcode3.1.1/usr/bin/llvm-gcc-4.2 -x c++ -arch ppc -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -pedantic -isysroot /Xcode3.1.1/SDKs/MacOSX10.5.sdk -mfix-and-continue -mtune=G4 -fvisibility-inlines-hidden -mmacosx-version-min=10.5 -gdwarf-2 -I/Users/luca/Research/Galileo/Australia/SimKernel_3.1/build/SimKernel.build/Debug/ELVM.build/ELVM.hmap -Wall -F/Users/luca/Research/Galileo/Australia/SimKernel_3.1/build/Debug -I/Users/luca/Research/Galileo/Australia/SimKernel_3.1/build/Debug/include -I/Users/luca/Research/Galileo/Australia/SimKernel_3.1/build/SimKernel.build/Debug/ELVM.build/DerivedSources -isysroot /Xcode3.1.1/SDKs/MacOSX10.5.sdk -c /Users/luca/Research/Galileo/Australia/SimKernel_3.1/ELVM/Src/Interpreter.cpp -o /Users/luca/Research/Galileo/Australia/SimKernel_3.1/build/SimKernel.build/Debug/ELVM.build/Objects-normal/ppc/Interpreter.o
CompileC build/SimKernel.build/Debug/ELVM.build/Objects-normal/ppc/elvm.o /Users/luca/Research/Galileo/Australia/SimKernel_3.1/ELVM/Src/elvm.cpp normal ppc c++ com.apple.compilers.llvmgcc42
cd /Users/luca/Research/Galileo/Australia/SimKernel_3.1
/Xcode3.1.1/usr/bin/llvm-gcc-4.2 -x c++ -arch ppc -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -pedantic -isysroot /Xcode3.1.1/SDKs/MacOSX10.5.sdk -mfix-and-continue -mtune=G4 -fvisibility-inlines-hidden -mmacosx-version-min=10.5 -gdwarf-2 -I/Users/luca/Research/Galileo/Australia/SimKernel_3.1/build/SimKernel.build/Debug/ELVM.build/ELVM.hmap -Wall -F/Users/luca/Research/Galileo/Australia/SimKernel_3.1/build/Debug -I/Users/luca/Research/Galileo/Australia/SimKernel_3.1/build/Debug/include -I/Users/luca/Research/Galileo/Australia/SimKernel_3.1/build/SimKernel.build/Debug/ELVM.build/DerivedSources -isysroot /Xcode3.1.1/SDKs/MacOSX10.5.sdk -c /Users/luca/Research/Galileo/Australia/SimKernel_3.1/ELVM/Src/elvm.cpp -o /Users/luca/Research/Galileo/Australia/SimKernel_3.1/build/SimKernel.build/Debug/ELVM.build/Objects-normal/ppc/elvm.o
CompileC build/SimKernel.build/Debug/ELVM.build/Objects-normal/ppc/libpq-fe.o /Users/luca/Research/Galileo/Australia/SimKernel_3.1/ELVM/Src/libpq-fe.cpp normal ppc c++ com.apple.compilers.llvmgcc42
cd /Users/luca/Research/Galileo/Australia/SimKernel_3.1
/Xcode3.1.1/usr/bin/llvm-gcc-4.2 -x c++ -arch ppc -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -pedantic -isysroot /Xcode3.1.1/SDKs/MacOSX10.5.sdk -mfix-and-continue -mtune=G4 -fvisibility-inlines-hidden -mmacosx-version-min=10.5 -gdwarf-2 -I/Users/luca/Research/Galileo/Australia/SimKernel_3.1/build/SimKernel.build/Debug/ELVM.build/ELVM.hmap -Wall -F/Users/luca/Research/Galileo/Australia/SimKernel_3.1/build/Debug -I/Users/luca/Research/Galileo/Australia/SimKernel_3.1/build/Debug/include -I/Users/luca/Research/Galileo/Australia/SimKernel_3.1/build/SimKernel.build/Debug/ELVM.build/DerivedSources -isysroot /Xcode3.1.1/SDKs/MacOSX10.5.sdk -c /Users/luca/Research/Galileo/Australia/SimKernel_3.1/ELVM/Src/libpq-fe.cpp -o /Users/luca/Research/Galileo/Australia/SimKernel_3.1/build/SimKernel.build/Debug/ELVM.build/Objects-normal/ppc/libpq-fe.o
Ld /Users/luca/Research/Galileo/Australia/SimKernel_3.1/build/Debug/ELVM normal ppc
cd /Users/luca/Research/Galileo/Australia/SimKernel_3.1
/Xcode3.1.1/usr/bin/llvm-g++-4.2 -arch ppc -isysroot /Xcode3.1.1/SDKs/MacOSX10.5.sdk -L/Users/luca/Research/Galileo/Australia/SimKernel_3.1/build/Debug -F/Users/luca/Research/Galileo/Australia/SimKernel_3.1/build/Debug -filelist /Users/luca/Research/Galileo/Australia/SimKernel_3.1/build/SimKernel.build/Debug/ELVM.build/Objects-normal/ppc/ELVM.LinkFileList -mmacosx-version-min=10.5 -o /Users/luca/Research/Galileo/Australia/SimKernel_3.1/build/Debug/ELVM
Is there something else I've to do to debug my application?
Can anyone suggest to me where find a good introduction to the LLVM technology?
Thanks in advance for any answer.
Luca
_________________________________________________________________
Make a mini you and download it into Windows Live Messenger
http://clk.atdmt.com/UKM/go/111354029/direct/01/ _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
- Follow-Ups:
- Re: LLVM
- From: Andrew Merenbach <email@hidden>