Debian Codegraph @

stdlib/Compflags

raw symbols SCIP
1 #!/bin/sh
2 #**************************************************************************
3 #* *
4 #* OCaml *
5 #* *
6 #* Xavier Leroy, projet Cristal, INRIA Rocquencourt *
7 #* *
8 #* Copyright 2004 Institut National de Recherche en Informatique et *
9 #* en Automatique. *
10 #* *
11 #* All rights reserved. This file is distributed under the terms of *
12 #* the GNU Lesser General Public License version 2.1, with the *
13 #* special exception on linking described in the file LICENSE. *
14 #* *
15 #**************************************************************************
16
17 case $1 in
18 stdlib.cm[iox])
19 echo ' -nopervasives -no-alias-deps -w -49' \
20 ' -pp "$AWK -f ./expand_module_aliases.awk"';;
21 # stdlib dependencies
22 camlinternalFormatBasics*.cm[iox]) echo ' -nopervasives';;
23 # end stdlib dependencies
24 camlinternalOO.cmx) echo ' -inline 0 -afl-inst-ratio 0';;
25 camlinternalLazy.cmx) echo ' -afl-inst-ratio 0';;
26 # never instrument camlinternalOO or camlinternalLazy (PR#7725)
27 stdlib__Buffer.cmx) echo ' -inline 3';;
28 # make sure add_char is inlined (PR#5872)
29 stdlib__Buffer.cm[io]) echo ' -w +A';;
30 camlinternalFormat.cm[io]) echo ' -w +A -w -fragile-match';;
31 stdlib__Printf.cm[io]|stdlib__Format.cm[io]|stdlib__Scanf.cm[io])
32 echo ' -w +A -w -fragile-match';;
33 stdlib__Scanf.cmx) echo ' -inline 9';;
34 *Labels.cmi) echo ' -pp "$AWK -f ./expand_module_aliases.awk"';;
35 *Labels.cm[ox]) echo ' -nolabels -no-alias-deps';;
36 stdlib__Float.cm[ox]) echo ' -nolabels -no-alias-deps';;
37 stdlib__Oo.cmi) echo ' -no-principal';;
38 # preserve structure sharing in Oo.copy (PR#9767)
39 *) echo ' ';;
40 esac