Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Changed definition of implem for debug information. | Bernhard Schommer | 2015-10-12 | 5 | -173/+135 |
| | | | | | | | Instead of making each filed mutuable we use a reference to a record of type implem. Now only the default implementation and the default debug information need to be upated to add a new function. Bug 17392. | ||||
* | Use a more descriptive type for diab debug entries. | Bernhard Schommer | 2015-10-12 | 3 | -13/+25 |
| | | | | | | Instead of using a tuple we now use a record with descriptive names for the different entries. Bug 17392 | ||||
* | Move strip functions to Cutil. | Bernhard Schommer | 2015-10-12 | 3 | -41/+47 |
| | | | | | | Since the strip functions might be useful in other context and is more general then the debug information. Bug 17392. | ||||
* | Do not insert atom to global variable mapping. | Bernhard Schommer | 2015-10-12 | 1 | -18/+1 |
| | | | | | | The atom to global variable debug id mapping is never used so we do not need to insert global variables into it. Bug 17392. | ||||
* | Unified function for adding the atom identifier. | Bernhard Schommer | 2015-10-12 | 5 | -29/+26 |
| | | | | | | | Instead of defining two functions for adding the mapping from atom to debug id we use one function which then sets the corresponding values. Bug 17392. | ||||
* | We can ignore the generated automation. Bug 17392 | Bernhard Schommer | 2015-10-12 | 1 | -0/+1 |
| | |||||
* | Changed expand_debug to emit less labels. | Bernhard Schommer | 2015-10-12 | 1 | -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 Schommer | 2015-10-12 | 1 | -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 Leroy | 2015-10-12 | 24 | -6193/+9 |
| | |||||
* | Merge pull request #51 from AbsInt/ppc64 | Xavier Leroy | 2015-10-11 | 30 | -43/+896 |
|\ | | | | | Take advantage of PowerPC 64-bit instructions | ||||
| * | Merge branch 'ppc64' of ssh://github.com/AbsInt/CompCert into ppc64 | Xavier Leroy | 2015-10-11 | 4 | -3/+15 |
| |\ | |||||
| | * | Test __builtin_isel. | Xavier Leroy | 2015-09-13 | 2 | -0/+4 |
| | | | |||||
| | * | VPATH setting for PowerPC | Xavier Leroy | 2015-09-13 | 1 | -1/+9 |
| | | | |||||
| | * | Wrong syntax in fcmp. | Xavier Leroy | 2015-09-13 | 1 | -2/+2 |
| | | | |||||
| * | | Merge branch 'master' into ppc64 | Xavier Leroy | 2015-10-11 | 84 | -2375/+5968 |
| |\ \ | |/ / |/| / | |/ | Resolved conflicts in:configure powerpc/Asmexpand.ml | ||||
* | | Upgrade to reflect changes in type external_function. | Xavier Leroy | 2015-10-11 | 1 | -4/+2 |
| | | |||||
* | | Merge pull request #55 from silene/master | Xavier Leroy | 2015-10-11 | 21 | -1082/+2448 |
|\ \ | | | | | | | Upgrade to Flocq 2.5.0. | ||||
| * | | Upgrade to Flocq 2.5.0. | Guillaume Melquiond | 2015-09-22 | 21 | -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 Schommer | 2015-10-09 | 5 | -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 Schommer | 2015-10-09 | 2 | -1/+2 |
| | | | |||||
* | | | Filled in the rest of the funciton needed for thte debug info under arm. | Bernhard Schommer | 2015-10-09 | 8 | -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 functions | Bernhard Schommer | 2015-10-08 | 4 | -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 Schommer | 2015-10-08 | 2 | -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 Schommer | 2015-10-08 | 1 | -1/+5 |
| | | | |||||
* | | | Push the linker args separate. | Bernhard Schommer | 2015-10-06 | 1 | -2/+4 |
| | | | |||||
* | | | Fast fix for functions in different sections in one compilation unit for gcc. | Bernhard Schommer | 2015-10-06 | 3 | -6/+23 |
| | | | |||||
* | | | Handle the special case of a typedef to void funciton parameter to be | Bernhard Schommer | 2015-10-05 | 1 | -2/+2 |
| | | | | | | | | | | | | handled as a function with void parameter. | ||||
* | | | Merge branch 'master' of github.com:AbsInt/CompCert | Bernhard Schommer | 2015-10-04 | 11 | -24/+83 |
|\ \ \ | |||||
| * | | | Fixed minor typos in the comments. | Bernhard Schommer | 2015-10-04 | 2 | -2/+2 |
| | | | | |||||
| * | | | Ensure that there are file directives for all files used in the debug | Bernhard Schommer | 2015-10-04 | 6 | -15/+28 |
| | | | | | | | | | | | | | | | | information. | ||||
| * | | | Allow redefinition of a typedef with the same name. | Bernhard Schommer | 2015-10-04 | 3 | -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 Schommer | 2015-10-03 | 1 | -1/+2 |
|/ / / | |||||
* | | | Add the forgotten Fileinfo also to arm and ia32 TargetPrinter.ml | Bernhard Schommer | 2015-10-02 | 2 | -0/+2 |
| | | | |||||
* | | | Use rev_map so that the debug locations are in the correct order. | Bernhard Schommer | 2015-10-02 | 1 | -1/+1 |
| | | | |||||
* | | | Merge branch 'gnu-debug' | Bernhard Schommer | 2015-10-02 | 11 | -149/+255 |
|\ \ \ | | | | | | | | | | | | | | | | | Conflicts: debug/DebugInformation.ml | ||||
| * | | | First try of debug information for gcc. | Bernhard Schommer | 2015-10-02 | 11 | -106/+195 |
| | | | | |||||
| * | | | Started implementation of gnu compatible debug information. | Bernhard Schommer | 2015-10-02 | 4 | -48/+65 |
| | | | | |||||
* | | | | Quote the section names in the json files. | Bernhard Schommer | 2015-10-02 | 1 | -1/+1 |
| | | | | |||||
* | | | | Add also all files for local variables. | Bernhard Schommer | 2015-10-02 | 1 | -0/+1 |
| | | | | |||||
* | | | | Always call print debug_section in the prologue. | Bernhard Schommer | 2015-10-02 | 2 | -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 Schommer | 2015-10-01 | 3 | -146/+163 |
| | | | |||||
* | | | Cleanup of now no longer needed functions. | Bernhard Schommer | 2015-10-01 | 6 | -51/+1 |
| | | | |||||
* | | | Merge pull request #57 from jhjourdan/parser_fix | Bernhard Schommer | 2015-10-01 | 8 | -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 code | Jacques-Henri Jourdan | 2015-09-30 | 8 | -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 Schommer | 2015-10-01 | 1 | -2/+1 |
| | | | |||||
* | | | Use also fucntion id for local variables since atom is not unique. | Bernhard Schommer | 2015-10-01 | 5 | -24/+24 |
| | | | |||||
* | | | Do not move the line directives. | Bernhard Schommer | 2015-10-01 | 1 | -5/+9 |
| | | | |||||
* | | | Use different entry_to_label mapping for each compilation unit. | Bernhard Schommer | 2015-10-01 | 1 | -3/+20 |
| | | | |||||
* | | | Only print locations for symbols that are present in the assembler. | Bernhard Schommer | 2015-10-01 | 6 | -5/+23 |
| | | | |||||
* | | | Remove unused globals also from the debug informations. | Bernhard Schommer | 2015-10-01 | 6 | -16/+36 |
| | | |