Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pyston
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
Pyston
Commits
aced7fa3
Commit
aced7fa3
authored
Nov 08, 2014
by
Yi-Hong Lyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[use_latest_valgrind] Use valgrind-3.10.0
parent
bdb87c17
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
docs/INSTALLING.md
docs/INSTALLING.md
+5
-5
src/Makefile
src/Makefile
+3
-3
No files found.
docs/INSTALLING.md
View file @
aced7fa3
...
...
@@ -208,11 +208,11 @@ To install:
```
cd ~/pyston_deps
wget http://valgrind.org/downloads/valgrind-3.
9
.0.tar.bz2
tar xvf valgrind-3.
9
.0.tar.bz2
mkdir valgrind-3.
9
.0-install
cd valgrind-3.
9
.0
./configure --prefix=$HOME/pyston_deps/valgrind-3.
9
.0-install
wget http://valgrind.org/downloads/valgrind-3.
10
.0.tar.bz2
tar xvf valgrind-3.
10
.0.tar.bz2
mkdir valgrind-3.
10
.0-install
cd valgrind-3.
10
.0
./configure --prefix=$HOME/pyston_deps/valgrind-3.
10
.0-install
make -j4
make install
sudo apt-get install libc6-dbg
...
...
src/Makefile
View file @
aced7fa3
...
...
@@ -143,8 +143,8 @@ ifeq ($(ENABLE_VALGRIND),0)
COMMON_CXXFLAGS
+=
-DNVALGRIND
VALGRIND
:=
false
else
COMMON_CXXFLAGS
+=
-I
$(DEPS_DIR)
/valgrind-3.
9
.0/include
VALGRIND
:=
VALGRIND_LIB
=
$(DEPS_DIR)
/valgrind-3.
9.0-install/lib/valgrind
$(DEPS_DIR)
/valgrind-3.9
.0-install/bin/valgrind
COMMON_CXXFLAGS
+=
-I
$(DEPS_DIR)
/valgrind-3.
10
.0/include
VALGRIND
:=
VALGRIND_LIB
=
$(DEPS_DIR)
/valgrind-3.
10.0-install/lib/valgrind
$(DEPS_DIR)
/valgrind-3.10
.0-install/bin/valgrind
endif
COMMON_CXXFLAGS
+=
-DGITREV
=
$(
shell
git rev-parse HEAD |
head
-c
12
)
-DLLVMREV
=
$(LLVM_REVISION)
...
...
@@ -772,7 +772,7 @@ memcheck$1_%: %.py pyston$1 $$(RUN_DEPS)
$$(call
make_search,memcheck$1_%)
memcheck_gdb$1_%
:
%.py pyston$1 $$(RUN_DEPS)
set
+e
;
$
$(VALGRIND)
-v
-v
-v
-v
-v
--tool
=
memcheck
--leak-check
=
no
--track-origins
=
yes
--vgdb
=
yes
--vgdb-error
=
0 ./pyston
$1
$
$(ARGS)
$$
< &
export
PID
=
$$$$
!
;
\
$
$(GDB)
--ex
"set confirm off"
--ex
"target remote |
$
$(DEPS_DIR)
/valgrind-3.
9
.0-install/bin/vgdb"
--ex
"continue"
--ex
"bt"
./pyston
$1
;
kill
-9
$$$$
PID
$
$(GDB)
--ex
"set confirm off"
--ex
"target remote |
$
$(DEPS_DIR)
/valgrind-3.
10
.0-install/bin/vgdb"
--ex
"continue"
--ex
"bt"
./pyston
$1
;
kill
-9
$$$$
PID
$$(call
make_search,memcheck_gdb$1_%)
memleaks$1_%
:
%.py pyston$1 $$(RUN_DEPS)
$
$(VALGRIND)
--tool
=
memcheck
--leak-check
=
full
--leak-resolution
=
low
--show-reachable
=
yes
./pyston
$1
$
$(ARGS)
$$
<
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment