2 * Debug vars for the assembler.
4 * ----------------------------------------------------------------
7 * Copyright (C) 2001 Jason Hickey, Caltech
8 * Copyright (C) 2002 Justin David Smith, Caltech
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License
12 * as published by the Free Software Foundation; either version 2
13 * of the License, or (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24 * Author: Jason Hickey
25 * @email{jyh@cs.caltech.edu}
32 * Register standard options for debugging.
34 let flag_as = "x86.as"
35 let flag_debug = flag_as ^
".debug"
36 let flag_make_stub = flag_as ^
".make_stub"
37 let flag_debug_stub = flag_as ^
".debug_stub"
39 let () = std_flags_help_section_text
flag_as
40 "Flags which are used to control the built-in X86 assembler."
42 let () = std_flags_register_list_help
flag_as
43 [flag_debug, FlagBool
false,
44 "Debug the assembler.";
45 flag_make_stub, FlagBool
false,
46 "Generate stub code for linking to external C library functions.";
47 flag_debug_stub, FlagBool
false,
48 "Warn about generated stub functions used for linking."]
54 let debug_as () = std_flags_get_bool
flag_debug
60 let make_stub () = std_flags_get_bool
flag_make_stub
61 let debug_stub () = std_flags_get_bool
flag_debug_stub
69 * Caml-master: "compile"