aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Responsefile.mli
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2016-08-29 14:54:06 +0200
committerBernhard Schommer <bernhardschommer@gmail.com>2016-08-29 14:54:06 +0200
commit5cf814404cec9a8702e4bfa88e0f9176fa04ecfb (patch)
treefabd44046e3e5b9aaac7f33b9e4dddaa8d3f06e8 /lib/Responsefile.mli
parent3208e22ea89c459a5a7944ad8e82511d4a5328fa (diff)
parent477f73ef96d957de5a896a05175ceaab7e0dce03 (diff)
downloadcompcert-5cf814404cec9a8702e4bfa88e0f9176fa04ecfb.tar.gz
compcert-5cf814404cec9a8702e4bfa88e0f9176fa04ecfb.zip
Merge branch 'master' into advanced-diagnostics
Diffstat (limited to 'lib/Responsefile.mli')
-rw-r--r--lib/Responsefile.mli31
1 files changed, 31 insertions, 0 deletions
diff --git a/lib/Responsefile.mli b/lib/Responsefile.mli
new file mode 100644
index 00000000..ada5a15d
--- /dev/null
+++ b/lib/Responsefile.mli
@@ -0,0 +1,31 @@
+(* *********************************************************************)
+(* *)
+(* The Compcert verified compiler *)
+(* *)
+(* Xavier Leroy, INRIA Paris-Rocquencourt *)
+(* Bernhard Schommer, AbsInt Angewandte Informatik GmbH *)
+(* *)
+(* Copyright Institut National de Recherche en Informatique et en *)
+(* Automatique. All rights reserved. This file is distributed *)
+(* under the terms of the GNU General Public License as published by *)
+(* the Free Software Foundation, either version 2 of the License, or *)
+(* (at your option) any later version. This file is also distributed *)
+(* under the terms of the INRIA Non-Commercial License Agreement. *)
+(* *)
+(* *********************************************************************)
+
+
+val expandargv: string array -> string array
+ (** Expand responsefile arguments contained in the array and return the full
+ set of arguments. *)
+
+exception Error of string
+ (** Raised by [expandargv] in case of an error *)
+
+val gnu_quote : string -> string
+ (** [gnu_quote arg] returns [arg] quoted compatible with the gnu tool chain
+ quoting conventions. *)
+
+val diab_quote : string -> string
+ (** [diab_quote arg] returns [arg] quoted compatible with the diab tool chain
+ quoting conventions. *)