2018-10-16 01:50:24 -07:00
|
|
|
#!/bin/sh
|
2018-10-10 08:16:00 -07:00
|
|
|
|
|
|
|
#**************************************************************************
|
|
|
|
#* *
|
|
|
|
#* OCaml *
|
|
|
|
#* *
|
|
|
|
#* Xavier Leroy, projet Cristal, INRIA Rocquencourt *
|
|
|
|
#* *
|
|
|
|
#* Copyright 1999 Institut National de Recherche en Informatique et *
|
|
|
|
#* en Automatique. *
|
|
|
|
#* *
|
|
|
|
#* All rights reserved. This file is distributed under the terms of *
|
|
|
|
#* the GNU Lesser General Public License version 2.1, with the *
|
|
|
|
#* special exception on linking described in the file LICENSE. *
|
|
|
|
#* *
|
|
|
|
#**************************************************************************
|
|
|
|
|
|
|
|
# duplicated from $(ROOTDIR)/runtime/Makefile
|
|
|
|
|
2019-09-26 05:51:08 -07:00
|
|
|
# #8985: the meaning of character range a-z depends on the locale, so force C
|
|
|
|
# locale throughout.
|
|
|
|
export LC_ALL=C
|
2018-10-10 08:16:00 -07:00
|
|
|
(
|
|
|
|
for prim in \
|
|
|
|
alloc array compare extern floats gc_ctrl hash intern interp ints io \
|
2019-04-23 00:27:31 -07:00
|
|
|
lexing md5 meta memprof obj parsing signals str sys callback weak \
|
2020-10-08 06:19:31 -07:00
|
|
|
finalise stacks dynlink backtrace_byt backtrace afl \
|
2019-11-15 04:52:35 -08:00
|
|
|
bigarray eventlog
|
2018-10-10 08:16:00 -07:00
|
|
|
do
|
2019-06-19 07:15:02 -07:00
|
|
|
sed -n -e 's/^CAMLprim value \([a-z0-9_][a-z0-9_]*\).*/\1/p' "$prim.c"
|
2018-10-10 08:16:00 -07:00
|
|
|
done
|
2018-11-16 02:31:26 -08:00
|
|
|
sed -n -e 's/^CAMLprim_int64_[0-9](\([a-z0-9_][a-z0-9_]*\)).*/caml_int64_\1\
|
|
|
|
caml_int64_\1_native/p' ints.c
|
2019-09-26 05:51:08 -07:00
|
|
|
) | sort | uniq
|