summaryrefslogtreecommitdiff
path: root/scripts/singleuse.pl
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 16:13:05 +0100
commiteb910b872edbf5cec7e877ba899e192f1dac8991 (patch)
treeedd7c79fb78403509d1d1ec2accfda199dc49097 /scripts/singleuse.pl
parent5114f82331440eadc9299700490f14c7352c908d (diff)
downloadcurl-eb910b872edbf5cec7e877ba899e192f1dac8991.tar.gz
memdebug: make debug-specific functions use curl_dbg_ prefixbagder/curldbg-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/singleuse.pl')
-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";
}