From 028fffbb055b2966b6205c5eaa432d6c4e22f677 Mon Sep 17 00:00:00 2001 From: David Monniaux Date: Thu, 5 Mar 2020 17:14:14 +0100 Subject: more about extraction and linking --- extraction/extraction.v | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'extraction') diff --git a/extraction/extraction.v b/extraction/extraction.v index 929c21e0..a258d4d8 100644 --- a/extraction/extraction.v +++ b/extraction/extraction.v @@ -36,6 +36,8 @@ Require Parser. Require Initializers. Require Asmaux. +Require CSE3. (* FIXME *) + (* Standard lib *) Require Import ExtrOcamlBasic. Require Import ExtrOcamlString. @@ -160,6 +162,10 @@ Extract Constant Cabs.loc => Extract Inlined Constant Cabs.string => "String.t". Extract Constant Cabs.char_code => "int64". +Extract Inductive HashedSet.PSet_internals.pset => "HashedSetaux.pset" [ "HashedSetaux.empty" "HashedSetaux.node" ] "HashedSetaux.pset_match". + +Extract Inlined Constant HashedSet.PSet_internals.pset_eq => "(==)" (* "HashedSetaux.eq" *). + (* Processor-specific extraction directives *) Load extractionMachdep. @@ -182,6 +188,7 @@ Set Extraction AccessOpaque. Cd "extraction". Separate Extraction + CSE3.totoro (* FIXME *) Compiler.transf_c_program Compiler.transf_cminor_program Cexec.do_initial_state Cexec.do_step Cexec.at_final_state Ctypes.merge_attributes Ctypes.remove_attributes Ctypes.build_composite_env -- cgit