Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revised semantics of comparisons between a pointer and 0. | Xavier Leroy | 2015-03-15 | 9 | -31/+44 |
| | | | | | | | | | | | It used to be that a pointer value (Vptr) always compare unequal to the null pointer (Vint Int.zero). However, this may not be true in the final machine code when pointer addition overflows and wraps around to the bit pattern 0. This patch checks the validity of the pointer being compared with 0, and makes the comparison undefined if the pointer is out of bounds. Note: only the IA32 back-end was updated, ARM and PowerPC need updating. | ||||
* | Missing initialization of current_function_sig. | Xavier Leroy | 2015-03-14 | 3 | -3/+6 |
| | |||||
* | Issue #28: if the arguments of __builtin_memcpy_aligned are arrays, their ↵ | Xavier Leroy | 2015-03-10 | 1 | -1/+3 |
| | | | | types must decay to pointer types in the "types" part of Ebuiltin. | ||||
* | Merge pull request #21 from AbsInt/backend_printer | Xavier Leroy | 2015-03-10 | 11 | -3167/+3116 |
|\ | | | | | Re-factoring of the asm printers. | ||||
| * | Merge branch 'master' into backend_printer | Bernhard Schommer | 2015-03-10 | 2 | -11/+12 |
| |\ | |/ |/| | |||||
* | | Merge branch 'master' of https://github.com/AbsInt/CompCert | Xavier Leroy | 2015-03-07 | 1 | -4/+0 |
|\ \ | |||||
| * | | Removed unused target cleansource. | Bernhard Schommer | 2015-03-05 | 1 | -4/+0 |
| | | | |||||
* | | | Issue #26: problems with big escape sequences in string/char literals. | Xavier Leroy | 2015-03-07 | 1 | -7/+12 |
|/ / | | | | | | | | | | | - Error instead of warning if escape sequence overflows one character. - Wrong normalization of L'x' to char instead of wchar_t. - More careful overflow tests. | ||||
| * | Merge branch 'master' into backend_printer | Bernhard Schommer | 2015-03-03 | 3 | -216/+7 |
| |\ | |/ |/| | |||||
* | | Removed leftover references to recdepend. | Xavier Leroy | 2015-02-28 | 1 | -6/+5 |
| | | |||||
* | | Removed the recdepend again and replaced it by a builtin Make function. | Bernhard Schommer | 2015-02-27 | 2 | -214/+6 |
| | | |||||
* | | Removed the glob files from doc/ instead of doc/glob/ | Bernhard Schommer | 2015-02-26 | 1 | -1/+1 |
| | | |||||
| * | Merge branch 'master' into backend_printer | Bernhard Schommer | 2015-02-26 | 11 | -339/+646 |
| |\ | |/ |/| | | | | | Conflicts: ia32/PrintAsm.ml | ||||
* | | Updated the recdepend tool to avoid printing of ./ at the begining and ↵ | Bernhard Schommer | 2015-02-25 | 2 | -52/+50 |
| | | | | | | | | printing duplicated -I flags. | ||||
* | | Added a small ocamlfile that calls ocamlfind recursivly over a given directory. | Bernhard Schommer | 2015-02-24 | 3 | -5/+218 |
| | | |||||
* | | Merge github.com:AbsInt/CompCert | Bernhard Schommer | 2015-02-23 | 9 | -334/+430 |
|\ \ | |||||
| * | | Update clightgen with respect to new representation of composites. | Xavier Leroy | 2015-02-20 | 3 | -232/+151 |
| | | | |||||
| * | | Merge pull request #23 from AbsInt/no-shell | Xavier Leroy | 2015-02-20 | 6 | -102/+279 |
| |\ \ | | | | | | | | | No Shell | ||||
| | * | | Removed the Unix from the libraries for cchecklink. | Bernhard Schommer | 2015-02-20 | 1 | -2/+3 |
| | | | | |||||
| | * | | Merge branch 'no-shell' of github.com:AbsInt/CompCert into compcert_windows | Bernhard Schommer | 2015-02-19 | 5 | -96/+272 |
| | |\ \ | |||||
| | | * \ | Merge branch 'master' into no-shell | Bernhard Schommer | 2015-02-19 | 81 | -2496/+6257 |
| | | |\ \ | | |_|/ / | |/| | | | |||||
| | | * | | Use Unix.create_process instead of Sys.command (continued). | Xavier Leroy | 2014-12-29 | 3 | -96/+122 |
| | | | | | |||||
| | | * | | Use Unix.create_process instead of Sys.command to run external tools. | Xavier Leroy | 2014-12-19 | 2 | -0/+150 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Revised parsing of compcert.ini file to split arguments into words like POSIX shell does (including quotes). | ||||
| | * | | | Merge github.com:AbsInt/CompCert into compcert_windows | Bernhard Schommer | 2015-02-19 | 66 | -2277/+5719 |
| | |\ \ \ | | |/ / / | |/| | | | |||||
| * | | | | The parameter should also have the old name. | Bernhard Schommer | 2015-02-19 | 1 | -3/+3 |
| | | | | | |||||
| | * | | | Removed the linker flag again. | Bernhard Schommer | 2015-01-20 | 2 | -4/+4 |
| | | | | | |||||
* | | | | | Removed the MinGW port. | Bernhard Schommer | 2015-02-19 | 1 | -53/+3 |
| | | | | | |||||
* | | | | | Merge github.com:AbsInt/CompCert | Bernhard Schommer | 2015-02-19 | 19 | -15/+935 |
|\| | | | | |||||
* | | | | | Use lcomm instead of .local for Mingw. | Bernhard Schommer | 2015-02-10 | 1 | -2/+2 |
| | | | | | |||||
* | | | | | Added new Mingw Printer. Currently the only difference to the Cygwin printer ↵ | Bernhard Schommer | 2015-02-10 | 1 | -13/+55 |
| | | | | | | | | | | | | | | | | | | | | is that every symbol must start with an "_". | ||||
| | | | * | Merge branch 'master' into backend_printer | Bernhard Schommer | 2015-02-19 | 18 | -8/+928 |
| | | | |\ | | |_|_|/ | |/| | | | | | | | | | | | | | Conflicts: ia32/PrintAsm.ml | ||||
| * | | | | Added back symbol functions in the different printer, since they are still ↵ | Bernhard Schommer | 2015-02-19 | 1 | -3/+10 |
| | | | | | | | | | | | | | | | | | | | | needed. | ||||
| * | | | | Changed the symbol function back to its old definition. | Bernhard Schommer | 2015-02-19 | 1 | -10/+3 |
| | | | | | |||||
| * | | | | C reference implementation of the int64 helper functions. | Xavier Leroy | 2015-02-14 | 18 | -8/+928 |
|/ / / / | | | | | | | | | | | | | In test_int64.c: don't test FP->int64 conversions when the FP argument is out of range. | ||||
| | | * | Removed unused sel_target, changed cygwin symbol names and changed the ↵ | Bernhard Schommer | 2015-02-19 | 5 | -7/+11 |
| | | | | | | | | | | | | | | | | default function aligment to be target dependent. | ||||
| | | * | Added an elf prefix to all common elf functions in PrintAsmaux. | Bernhard Schommer | 2015-02-18 | 5 | -36/+50 |
| | | | | |||||
| | | * | Changed print_fun/var_info to be functions instead of booleans. | Bernhard Schommer | 2015-02-18 | 5 | -18/+16 |
| | | | | |||||
| | | * | Removed some style issues. | Bernhard Schommer | 2015-02-18 | 3 | -76/+82 |
| | | | | |||||
| | | * | Changed arm backend to the common backend printer. | Bernhard Schommer | 2015-02-09 | 7 | -1194/+1145 |
| | | | | |||||
| | | * | Merge remote-tracking branch 'origin/master' into backend_printer | Bernhard Schommer | 2015-02-09 | 3 | -231/+226 |
| | | |\ | |_|_|/ |/| | | | |||||
* | | | | Interpreter produces more detailed trace, including name of semantic rules used. | Xavier Leroy | 2015-02-08 | 3 | -231/+226 |
| | | | | | | | | | | | | | | | | | | | | | | | | Cexec: record names of rules used in every reduction. Interp: print these rule names in -trace mode. Also: simplified the exploration in "-all" mode; give unique names to states. Csem: fix name of reduction rule "red_call". | ||||
| | | * | Changed the ia32 backend to the new Printer. | Bernhard Schommer | 2015-02-06 | 5 | -1035/+983 |
| | | | | |||||
| | | * | Changed the ASM printer of the powerpc to the generalized backend. | Bernhard Schommer | 2015-02-05 | 5 | -792/+850 |
| | | | | |||||
| | | * | Moved more common functions into a seperate file. | Bernhard Schommer | 2015-02-04 | 4 | -137/+69 |
| | | | | |||||
| | | * | Started moving common backend functions into one file. | Bernhard Schommer | 2015-02-03 | 3 | -84/+114 |
| |_|/ |/| | | |||||
* | | | Changed the print_globaldef function of the powerpc backend to look like the ↵ | Bernhard Schommer | 2015-01-28 | 1 | -10/+2 |
| | | | | | | | | | | | | functions used in the arm and ia32 backend. | ||||
* | | | Add weaker variants of theorems find_funct_ptr_exists and find_var_exists. | Xavier Leroy | 2015-01-23 | 1 | -70/+122 |
| | | | | | | | | | | | | | | | | | | | | | | | | Instead of assuming name uniqueness for all definitions in the program, these variants only assume uniqueness for a particular name. Use this approach to weaken the hypotheses for match_program and transf_program_partial_augment. | ||||
* | | | Merge branch 'named-structs' | Xavier Leroy | 2015-01-23 | 36 | -1630/+4023 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Switch CompCert C / Clight AST of composite types (structs and unions) from a structural representation to a nominal representation, closer to concrete syntax. - This avoids algorithmic inefficiencies due to the structural representation. - Closes PR#4. - Smallstep: make small-step semantics more polymorphic in the type of the global environment. - Globalenvs: introduce Senv.t (symbol environments) as a restricted view on Genv.t (full global environments). - Events, Smallstep: use Senv instead of Genv to talk about global names. | ||||
| * | | | Define a nonnegative integer "rank" for types to support structural ↵ | Xavier Leroy | 2015-01-10 | 2 | -22/+120 |
| | | | | | | | | | | | | | | | | induction over composite types. | ||||
| * | | | Add a type system for CompCert C and type-checking constructor functions. | Xavier Leroy | 2014-12-31 | 8 | -80/+2101 |
| | | | | | | | | | | | | | | | | | | | | Use these constructor functions in C2C to rely less on the types produced by the unverified elaborator. |