aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-03-08 10:47:29 +0100
committerDaniel Stenberg <daniel@haxx.se>2019-03-08 23:21:21 +0100
commit76b63489495ee1d49182a20525d7e6629cbab493 (patch)
tree047b9fbb4e8d6e022fba67adfb5c87c8c27d7083 /scripts
parent50afa478e1c4c2a640b37d8d9da477de07714d2b (diff)
memdebug: make debug-specific functions use curl_dbg_ prefix
To not "collide" or use up the regular curl_ name space. Also makes them easier to detect in helper scripts. Closes #3656
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/singleuse.pl19
1 files changed, 3 insertions, 16 deletions
diff --git a/scripts/singleuse.pl b/scripts/singleuse.pl
index f26abff87..148aebe9d 100755
--- a/scripts/singleuse.pl
+++ b/scripts/singleuse.pl
@@ -145,22 +145,6 @@ my %api = (
# the following funcions are provided globally in debug builds
'curl_easy_perform_ev' => 'debug-build',
- 'curl_memdebug' => 'debug-build',
- 'curl_memlimit' => 'debug-build',
- 'curl_memlog' => 'debug-build',
- 'curl_accept' => 'debug-build',
- 'curl_docalloc' => 'debug-build',
- 'curl_dofree' => 'debug-build',
- 'curl_domalloc' => 'debug-build',
- 'curl_dorealloc' => 'debug-build',
- 'curl_dorecv' => 'debug-build',
- 'curl_dosend' => 'debug-build',
- 'curl_dostrdup' => 'debug-build',
- 'curl_fclose' => 'debug-build',
- 'curl_fopen' => 'debug-build',
- 'curl_sclose' => 'debug-build',
- 'curl_socket' => 'debug-build',
- 'curl_socketpair' => 'debug-build',
);
open(N, "nm $file|") ||
@@ -202,6 +186,9 @@ for(sort keys %exist) {
$err++;
}
}
+ elsif($_ =~ /^curl_dbg_/) {
+ # we ignore the memdebug symbols
+ }
elsif($wl{$_}) {
#print "$_ is WL\n";
}