mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-27 13:30:05 +00:00
Add easy way to enable purify support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1045 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a5637fc466
commit
6e39070b09
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user