projects
/
model-checker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a330e8d
)
missing change
author
Brian Demsky
<bdemsky@uci.edu>
Wed, 3 Oct 2012 10:03:02 +0000
(
03:03
-0700)
committer
Brian Demsky
<bdemsky@uci.edu>
Wed, 3 Oct 2012 10:03:02 +0000
(
03:03
-0700)
common.mk
patch
|
blob
|
history
mymemory.cc
patch
|
blob
|
history
diff --git
a/common.mk
b/common.mk
index 009ae634827f39f4d8dab210611e7b9f88bcbcec..9fe9f09745c73ef0f75e3776c9d09c4a6b58c3d0 100644
(file)
--- a/
common.mk
+++ b/
common.mk
@@
-8,7
+8,7
@@
UNAME = $(shell uname)
LIB_NAME = model
LIB_SO = lib$(LIB_NAME).so
-CPPFLAGS += -Wall -g -O
0
+CPPFLAGS += -Wall -g -O
3
# Mac OSX options
ifeq ($(UNAME), Darwin)
diff --git
a/mymemory.cc
b/mymemory.cc
index 6caf27a3d1d3799a1e11be74f615b95fd9a1d7b0..6fd7c704b9175c7c47a5df6a50016ded23046a8f 100644
(file)
--- a/
mymemory.cc
+++ b/
mymemory.cc
@@
-5,6
+5,7
@@
#include <dlfcn.h>
#include <unistd.h>
#include <cstring>
+#include "common.h"
#define REQUESTS_BEFORE_ALLOC 1024
size_t allocatedReqs[ REQUESTS_BEFORE_ALLOC ] = { 0 };
int nextRequest = 0;