diff options
| author | Jeffrey Yasskin <jyasskin@google.com> | 2009-09-25 16:46:09 +0000 |
|---|---|---|
| committer | Jeffrey Yasskin <jyasskin@google.com> | 2009-09-25 16:46:09 +0000 |
| commit | db281085c555f0ef344638cf3d42ef0ade56d1d2 (patch) | |
| tree | 18a08cf9c691dea24c7bc0f178176c080158cec2 /llvm/docs | |
| parent | 880d2d5788f4f167b50dda99748f4659275ce909 (diff) | |
| download | bcm5719-llvm-db281085c555f0ef344638cf3d42ef0ade56d1d2.tar.gz bcm5719-llvm-db281085c555f0ef344638cf3d42ef0ade56d1d2.zip | |
This patch causes the --enable-debug-runtime configure flag and the
DEBUG_RUNTIME Makefile variable to pass -g to gcc when building LLVM's objects.
Without this, it's very hard to debug crashes that happen in Release-Asserts
mode but not Debug mode.
llvm-svn: 82775
Diffstat (limited to 'llvm/docs')
| -rw-r--r-- | llvm/docs/MakefileGuide.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/docs/MakefileGuide.html b/llvm/docs/MakefileGuide.html index f996144e145..8e552484abe 100644 --- a/llvm/docs/MakefileGuide.html +++ b/llvm/docs/MakefileGuide.html @@ -626,6 +626,11 @@ <dd>If set to any value, causes a bitcode library (.bc) to be built.</dd> <dt><a name="CONFIG_FILES"><tt>CONFIG_FILES</tt></a></dt> <dd>Specifies a set of configuration files to be installed.</dd> + <dt><a name="DEBUG_RUNTIME"><tt>DEBUG_RUNTIME</tt></a></dt> + <dd>If set to any value, causes the build to include debugging + symbols even in optimized objects, libraries and executables. This + alters the flags specified to the compilers and linkers. Debugging + isn't fun in an optimized build, but it is possible.</dd> <dt><a name="DIRS"><tt>DIRS</tt></a></dt> <dd>Specifies a set of directories, usually children of the current directory, that should also be made using the same goal. These directories |

