debugging llvm


I'm currently porting my code from 3.2 to 3.4 and I'm having trouble getting
debug info out. I used to be able to pass -debug to llc to get all the
information I needed, and the documentation stills states this is the case,
however my build does not seem to accept that option. I have a Debug build,
so what else am I missing?


There is (was?) a bug in the CMake build that still adds -DNDEBUG when doing a debug build. Adding -UNDEBUG to the CXXFLAGS fixes it.