diff options
| author | Warner Losh <imp@FreeBSD.org> | 2025-02-05 23:20:13 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2025-02-05 23:20:13 +0000 |
| commit | 48ec896efb0b78141df004eaa21288b84590c9da (patch) | |
| tree | 33799792fd95c266d472ab1ae51d50ab4f942eb3 /include/jemalloc/internal/private_symbols_jet.awk | |
| parent | d28d7fbede216494aa3942af042cc084fcd6098a (diff) | |
jemalloc: Import 5.3.0 54eaed1d8b56b1aa528be3bdd1877e59c56fa90cvendor/jemalloc/5.3.0vendor/jemalloc
Import jemalloc 5.3.0.
This import changes how manage the jemalloc vendor branch (which was
just started anyway). Starting with 5.3.0, we import a clean tree from
the upstream github, removing all the old files that are no longer
upstream, or that we've kept around for some reason. We do this because
we merge from this raw version of jemalloc into the FreeBSD
contrib/jemalloc, then we run autogen stuff, generate all the generated
.h files with gmake, then finally remove much of the generated files in
contrib/jemalloc using an update script.
Sponsored by: Netflix
Diffstat (limited to 'include/jemalloc/internal/private_symbols_jet.awk')
| -rw-r--r-- | include/jemalloc/internal/private_symbols_jet.awk | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/include/jemalloc/internal/private_symbols_jet.awk b/include/jemalloc/internal/private_symbols_jet.awk deleted file mode 100644 index 561717db8ac2..000000000000 --- a/include/jemalloc/internal/private_symbols_jet.awk +++ /dev/null @@ -1,57 +0,0 @@ -#!/usr/bin/env awk -f - -BEGIN { - sym_prefix = "" - split("\ - jet_aligned_alloc \ - jet_calloc \ - jet_dallocx \ - jet_free \ - jet_mallctl \ - jet_mallctlbymib \ - jet_mallctlnametomib \ - jet_malloc \ - jet_malloc_conf \ - jet_malloc_message \ - jet_malloc_stats_print \ - jet_malloc_usable_size \ - jet_mallocx \ - jet_smallocx_ea6b3e973b477b8061e0076bb257dbd7f3faa756 \ - jet_nallocx \ - jet_posix_memalign \ - jet_rallocx \ - jet_realloc \ - jet_sallocx \ - jet_sdallocx \ - jet_xallocx \ - jet_memalign \ - jet_valloc \ - __posix_memalign \ - pthread_create \ - _malloc_thread_cleanup \ - _malloc_prefork \ - _malloc_postfork \ - ", exported_symbol_names) - # Store exported symbol names as keys in exported_symbols. - for (i in exported_symbol_names) { - exported_symbols[exported_symbol_names[i]] = 1 - } -} - -# Process 'nm -a <c_source.o>' output. -# -# Handle lines like: -# 0000000000000008 D opt_junk -# 0000000000007574 T malloc_initialized -(NF == 3 && $2 ~ /^[ABCDGRSTVW]$/ && !($3 in exported_symbols) && $3 ~ /^[A-Za-z0-9_]+$/) { - print substr($3, 1+length(sym_prefix), length($3)-length(sym_prefix)) -} - -# Process 'dumpbin /SYMBOLS <c_source.obj>' output. -# -# Handle lines like: -# 353 00008098 SECT4 notype External | opt_junk -# 3F1 00000000 SECT7 notype () External | malloc_initialized -($3 ~ /^SECT[0-9]+/ && $(NF-2) == "External" && !($NF in exported_symbols)) { - print $NF -} |
