[LLVMdev] Enabling debug in LLVM-1.7 release
Silken Tiger
st at iss.tu-darmstadt.de
Tue Jul 11 08:00:33 PDT 2006
Hi
This may sound like a stupid question, but well i am not very good with the automake tools:
How do i enable debug mode in llvm-1.7?
I tried
./configure --enable-debug-runtime
editing Makefile.config DEBUG_RUNTIME=1
editing Makefile.config.in DEBUG_RUNTIME=1 and ./configure --enable-debug-runtime
Currently i managed to make a profile build but gdb just chokes like this when trying to debug:
Starting program: /work0/tstone/llvm-1.7/Profile/bin/llc /work0/tstone/llvm/Profile/bin/llc
[Thread debugging using libthread_db enabled]
Error while reading shared library symbols:
Cannot find new threads: generic error
Thanks
ST
More information about the llvm-dev
mailing list