diff options
author | Chris Lattner <sabre@nondot.org> | 2001-10-30 20:24:08 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-10-30 20:24:08 +0000 |
commit | 6e39070b091645bbaeb36300d8ae5fe78abcc394 (patch) | |
tree | abcf36698de3b903a3f66588b398dce1044c1139 /Makefile.common | |
parent | a5637fc46617afea65d16625ea6508f1eceacba2 (diff) | |
download | external_llvm-6e39070b091645bbaeb36300d8ae5fe78abcc394.zip external_llvm-6e39070b091645bbaeb36300d8ae5fe78abcc394.tar.gz external_llvm-6e39070b091645bbaeb36300d8ae5fe78abcc394.tar.bz2 |
Add easy way to enable purify support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1045 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.common')
-rw-r--r-- | Makefile.common | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.common b/Makefile.common index 3c29a37..921695c 100644 --- a/Makefile.common +++ b/Makefile.common @@ -38,6 +38,9 @@ install :: BURG = /home/vadve/vadve/Research/DynOpt/Burg/burg BURG_OPTS = -I + +PURIFY = /usr/dcs/applications/purify/bin/purify -cache-dir="/home/vadve/lattner/purifycache" -chain-length="10" -messages=all + #--------------------------------------------------------- # Compilation options... #--------------------------------------------------------- @@ -58,6 +61,9 @@ CompileG = $(Compile) -g -D_DEBUG CompileO = $(Compile) -O3 -DNDEBUG -finline-functions -felide-constructors -fnonnull-objects -freg-struct-return -fshort-enums # Link final executable + +# To enable purify, do it here: +###Link = $(PURIFY) $(CXX) $(Prof) -static Link = $(CXX) $(Prof) LinkG = $(Link) -g -L $(LEVEL)/lib/Debug LinkO = $(Link) -O3 -L $(LEVEL)/lib/Release |