Changes between Version 7 and Version 8 of Hacking
- Timestamp:
- 01/28/11 16:22:13 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Hacking
v7 v8 30 30 == Debugging help == 31 31 32 * To enable assertions in LDC, you need to have LLVM compiled with --enable-assertions 33 * add -DDEBUG to the CPP_FLAGS in "ccmake ." to enable DEBUG sections in LDC 34 * Set CMAKE_BUILD_TYPE to Debug in cmake to get a debug build of LDC. (works?) 32 35 * Use ->toChars() on instances of DMDFE classes and ->dump() on LLVM values and types. 33 * Set CMAKE_BUILD_TYPE to Debug in cmake to get a debug build of ldc.