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 | d448292104a1ae72c5ec5d0f925691f57f6a13ee (patch) | |
tree | b1e67e5facc6e2860b831e58e3996577ec729776 /docs/MakefileGuide.html | |
parent | c8ce2d4cb9ef5ff8b3c574e522c870741d88ba58 (diff) | |
download | external_llvm-d448292104a1ae72c5ec5d0f925691f57f6a13ee.zip external_llvm-d448292104a1ae72c5ec5d0f925691f57f6a13ee.tar.gz external_llvm-d448292104a1ae72c5ec5d0f925691f57f6a13ee.tar.bz2 |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82775 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/MakefileGuide.html')
-rw-r--r-- | docs/MakefileGuide.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/MakefileGuide.html b/docs/MakefileGuide.html index f996144..8e55248 100644 --- a/docs/MakefileGuide.html +++ b/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 |