aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Responsefile.mli
diff options
context:
space:
mode:
authorXavier Leroy <xavierleroy@users.noreply.github.com>2016-08-17 11:31:23 +0200
committerGitHub <noreply@github.com>2016-08-17 11:31:23 +0200
commit0f9d824914c9dff0bf5d983ab387a5b5326307fc (patch)
tree162ffbc12514864db4d1e7cbff86559be4924616 /lib/Responsefile.mli
parentb1a059251053a061d98e4b440bfab40ffd8761c7 (diff)
parent5309f16159e4decd81330622dcdd6eb4b25819a1 (diff)
downloadcompcert-0f9d824914c9dff0bf5d983ab387a5b5326307fc.tar.gz
compcert-0f9d824914c9dff0bf5d983ab387a5b5326307fc.zip
Merge pull request #107 from AbsInt/add-file
Add support for response files
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. *)