summaryrefslogtreecommitdiff
path: root/Makefile.config.in
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2009-04-17 14:49:22 +0000
committerDavid Greene <greened@obbligato.org>2009-04-17 14:49:22 +0000
commitdbefd0c15be7daa3d74a0a9a04a068ea76c641f8 (patch)
tree1942529b346a76d6e5f75ef291caef493cfea7ba /Makefile.config.in
parent2ee3db3003deb18461a72b82166d8d417925d06f (diff)
downloadllvm-dbefd0c15be7daa3d74a0a9a04a068ea76c641f8.tar.gz
llvm-dbefd0c15be7daa3d74a0a9a04a068ea76c641f8.tar.bz2
llvm-dbefd0c15be7daa3d74a0a9a04a068ea76c641f8.tar.xz
Add a --enable-profiling option to configure to build Debug+Profile and
Opt+Profile tools. Now we can profile any kind of flavor we build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69351 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.config.in')
-rw-r--r--Makefile.config.in10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile.config.in b/Makefile.config.in
index dcc013d0e8..efa8a0b874 100644
--- a/Makefile.config.in
+++ b/Makefile.config.in
@@ -215,7 +215,15 @@ RDYNAMIC := @RDYNAMIC@
#ENABLE_OPTIMIZED = 1
@ENABLE_OPTIMIZED@
-# When DISABLE_ASSERTIONS is enabled, builds of all of the LLVM code will
+# When ENABLE_PROFILING is enabled, profile instrumentation is done
+# and output is put into the "<Flavor>+Profile" directories, where
+# <Flavor> is either Debug or Release depending on how other builkd
+# flags are set.. Otherwise, output is put in the <Flavor>
+# directories.
+#ENABLE_PROFILING = 1
+@ENABLE_PROFILING@
+
+# When DISABLE_ASSERTIONS is enabled, builds of all of the LLVM code will
# exclude assertion checks, otherwise they are included.
#DISABLE_ASSERTIONS = 1
@DISABLE_ASSERTIONS@