Skip to content
Snippets Groups Projects
Commit d30ad529 authored by Marc G. Fournier's avatar Marc G. Fournier
Browse files

From: Jeroen van Vianen <jeroenv@design.nl>

tools.patch patches tools/find_static (use indices to increase
performance) and tools/ccsym (no hardcoded paths).
parent 22bd99e4
No related branches found
No related tags found
No related merge requests found
#!/bin/sh #!/bin/sh
trap "/bin/rm -f /tmp/$$.*" 0 1 2 3 15 trap "rm -f /tmp/$$.*" 0 1 2 3 15
cd /tmp cd /tmp
/bin/cat >$$.c <<EOF cat >$$.c <<EOF
extern int foo; extern int foo;
EOF EOF
for i in `cc -v -c $$.c 2>&1` for i in `cc -v -c $$.c 2>&1`
do do
case "$i" in case "$i" in
-D*) echo "$i" | /usr/bin/sed 's/^-D//';; -D*) echo "$i" | sed 's/^-D//';;
-A*) /bin/test "2.7.2.1" && echo "$i" | /usr/bin/sed 's/^-A\(.*\)(\(.*\))/\1=\2/';; -A*) test "2.7.2.1" && echo "$i" | sed 's/^-A\(.*\)(\(.*\))/\1=\2/';;
esac esac
done done
...@@ -27,6 +27,11 @@ echo " ...@@ -27,6 +27,11 @@ echo "
into table debug2 into table debug2
from debug; from debug;
create index idebug on debug(scope,func);
create index idebug2 on debug2(func,scope);
vacuum debug;
vacuum debug2;
update debug2 update debug2
set scope = '_' set scope = '_'
from debug from debug
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment