aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Changed expand_debug to emit less labels.Bernhard Schommer2015-10-121-0/+1
| | | | | | | | | | | | | | | | | | If a label is printed before a list of debug annotations we can use it for the debug annotations and don't need to add an extra label. Bug 17392
| * | Fix minor typo introduced by refactoring of debug information.Bernhard Schommer2015-10-121-1/+1
| | | | | | | | | | | | | | | The base register for the stack allocated variables should be r1 and not r2 under powerpc. Bug 17392
| * | Removal of cchecklink, superseded by AbsInt's Valex tool.Xavier Leroy2015-10-1224-6193/+9
| | |
| * | Merge pull request #51 from AbsInt/ppc64Xavier Leroy2015-10-1130-43/+896
| |\ \ | | | | | | | | Take advantage of PowerPC 64-bit instructions
| | * \ Merge branch 'ppc64' of ssh://github.com/AbsInt/CompCert into ppc64Xavier Leroy2015-10-114-3/+15
| | |\ \
| | | * | Test __builtin_isel.Xavier Leroy2015-09-132-0/+4
| | | | |
| | | * | VPATH setting for PowerPCXavier Leroy2015-09-131-1/+9
| | | | |
| | | * | Wrong syntax in fcmp.Xavier Leroy2015-09-131-2/+2
| | | | |
| | * | | Merge branch 'master' into ppc64Xavier Leroy2015-10-1184-2375/+5968
| | |\ \ \ | | |/ / / | |/| / / | | |/ / Resolved conflicts in:configure powerpc/Asmexpand.ml
| | * | Use PowerPC 64 bits instructions (when available) for int<->FP conversions.Xavier Leroy2015-09-1315-40/+202
| | | | | | | | | | | | | | | | | | | | | | | | Also: implement __builtin_isel on non-EREF platforms with a branch-free instruction sequence. Also: extend ./configure so that it recognizes "ppc64-" and "e5500-" platforms in addition to "ppc-".
| | * | PowerPC 64 bits: alternate, more efficient implementations of int64 operations.Xavier Leroy2015-09-1213-2/+681
| | | |
* | | | Updated PR by removing whitespaces. Bug 17450.Bernhard Schommer2015-10-20225-11709/+11709
| | | |
* | | | Use Coq strings instead of idents to name external and builtin functions.Xavier Leroy2015-10-1125-361/+431
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | The AST.ident type represents source-level identifiers as unique positive numbers. However, the mapping identifiers <-> AST.ident differs between runs of CompCert on different source files. This is problematic when we need to produce or recognize external functions and builtin functions with fixed names, for example: * in $ARCH/Machregs.v to define the register conventions for builtin functions; * in the VST program logic from Princeton to treat thread primitives specially. So far, we used AST.ident_of_string to recover the ident associated with a string. However, this function is defined in OCaml and doesn't execute within Coq. This is a problem both for VST and for future executability of CompCert within Coq. This commit replaces "ident" by "string" in the arguments of EF_external, EF_builtin, EF_inline_asm, EF_annot, and EF_annot_val. This provides stable names for externals and builtins, as needed. For inline asm and annotations, it's a matter of taste, but using strings feels more natural. EF_debug keeps using idents, since some kinds of EF_debug annotations talk about program variables.
* | | Upgrade to reflect changes in type external_function.Xavier Leroy2015-10-111-4/+2
| | |
* | | Merge pull request #55 from silene/masterXavier Leroy2015-10-1121-1082/+2448
|\ \ \ | | | | | | | | Upgrade to Flocq 2.5.0.
| * | | Upgrade to Flocq 2.5.0.Guillaume Melquiond2015-09-2221-1082/+2448
| | | | | | | | | | | | | | | | Note: this version of Flocq is compatible with both Coq 8.4 and 8.5.
* | | | Filled in missing functions for debug information on ia32.Bernhard Schommer2015-10-095-87/+91
| | | | | | | | | | | | | | | | | | | | | | | | Like for arm and ppc the functions for section names and start and end addresses of compilation units are defined and the print_annot function is moved to Asmexpandaux.ml.
* | | | Fixed syntax error and added Section_debug_line to the Json serializer.Bernhard Schommer2015-10-092-1/+2
| | | |
* | | | Filled in the rest of the funciton needed for thte debug info under arm.Bernhard Schommer2015-10-098-24/+84
| | | | | | | | | | | | | | | | | | | | | | | | The name_of_section function no returns the correct name for the debug sections, the prologue and epilogue directives are added and the labels for the live ranges are introduced in the Asmexpand pass.
* | | | Added versions of the tranform_* functions in AST to work with functionsBernhard Schommer2015-10-084-25/+220
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | taking the ident as argument. This functions are currently not used inside the proven part but it is nice to have them already there, when they are used by some future pass. They also come equiped with the corresponding proofs.
* | | | Moved expandation of debug information to Asmexpandaux.Bernhard Schommer2015-10-082-66/+74
| | | | | | | | | | | | | | | | | | | | | | | | The function is generalized to work for all backends and takes as additional arguments functions for the printing of the simple instructions and the translation function for the arguments.
* | | | Reset all Hashtables.Bernhard Schommer2015-10-081-1/+5
| | | |
* | | | Push the linker args separate.Bernhard Schommer2015-10-061-2/+4
| | | |
* | | | Fast fix for functions in different sections in one compilation unit for gcc.Bernhard Schommer2015-10-063-6/+23
| |_|/ |/| |
* | | Handle the special case of a typedef to void funciton parameter to beBernhard Schommer2015-10-051-2/+2
| | | | | | | | | | | | handled as a function with void parameter.
* | | Merge branch 'master' of github.com:AbsInt/CompCertBernhard Schommer2015-10-0411-24/+83
|\ \ \
| * | | Fixed minor typos in the comments.Bernhard Schommer2015-10-042-2/+2
| | | |
| * | | Ensure that there are file directives for all files used in the debugBernhard Schommer2015-10-046-15/+28
| | | | | | | | | | | | | | | | information.
| * | | Allow redefinition of a typedef with the same name.Bernhard Schommer2015-10-043-7/+53
| | | | | | | | | | | | | | | | | | | | C11 allows a typedef redefinition if the types are the same. We now allow this also and issue a warning and an error if the types are different.
* | | | Activate the advanced debug for the gcc build.Bernhard Schommer2015-10-031-1/+2
|/ / /
* | | Add the forgotten Fileinfo also to arm and ia32 TargetPrinter.mlBernhard Schommer2015-10-022-0/+2
| | |
* | | Use rev_map so that the debug locations are in the correct order.Bernhard Schommer2015-10-021-1/+1
| | |
* | | Merge branch 'gnu-debug'Bernhard Schommer2015-10-0211-149/+255
|\ \ \ | | | | | | | | | | | | | | | | Conflicts: debug/DebugInformation.ml
| * | | First try of debug information for gcc.Bernhard Schommer2015-10-0211-106/+195
| | | |
| * | | Started implementation of gnu compatible debug information.Bernhard Schommer2015-10-024-48/+65
| | | |
* | | | Quote the section names in the json files.Bernhard Schommer2015-10-021-1/+1
| | | |
* | | | Add also all files for local variables.Bernhard Schommer2015-10-021-0/+1
| | | |
* | | | Always call print debug_section in the prologue.Bernhard Schommer2015-10-022-19/+19
|/ / / | | | | | | | | | | | | Since files without function definition contain no function in the Section_text the filenum would be empty otherwise.
* | | Moved the types defined by the Debug Interface into a separate file.Bernhard Schommer2015-10-013-146/+163
| | |
* | | Cleanup of now no longer needed functions.Bernhard Schommer2015-10-016-51/+1
| | |
* | | Merge pull request #57 from jhjourdan/parser_fixBernhard Schommer2015-10-018-161/+403
|\ \ \ | | | | | | | | Correction of a few bugs in the pre-parser, added comments.
| * | | Fixed a few bugs in the pre parser. In particular, the following codeJacques-Henri Jourdan2015-09-308-161/+403
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | was not parsed correctly: typedef int a; int f() { for(int a; ;) if(1); a * x; } Additionnaly, I tried to add some comments in the pre-parser code, especially for the different hacks used to solve various conflicts.
* | | Removed the debug output for the debug information.Bernhard Schommer2015-10-011-2/+1
| | |
* | | Use also fucntion id for local variables since atom is not unique.Bernhard Schommer2015-10-015-24/+24
| | |
* | | Do not move the line directives.Bernhard Schommer2015-10-011-5/+9
| | |
* | | Use different entry_to_label mapping for each compilation unit.Bernhard Schommer2015-10-011-3/+20
| | |
* | | Only print locations for symbols that are present in the assembler.Bernhard Schommer2015-10-016-5/+23
| | |
* | | Remove unused globals also from the debug informations.Bernhard Schommer2015-10-016-16/+36
| | |
* | | More robust dwarf generation. Do not add incomplete local variablesBernhard Schommer2015-09-302-14/+30
| | | | | | | | | | | | in the Debuging information.
* | | Also add the rest to the producer tag.Bernhard Schommer2015-09-301-1/+2
| | |