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
Please try updating (or applying the patch to your 1.7 tree), making clean then rebuilding.
-Chris
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