aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into dwarfBernhard Schommer2015-03-3122-112/+1117
|\ | | | | | | | | | | Conflicts: Makefile driver/Driver.ml
| * Merge pull request #33 from AbsInt/struct-passingXavier Leroy2015-03-3122-112/+1115
| |\ | | | | | | ABI conformance for passing function arguments and returning function results of struct and union types
| | * Support va_arg for vararg arguments of composite (struct/union) types.Xavier Leroy2015-03-202-0/+19
| | | | | | | | | | | | Now for IA32 and PowerPC as well.
| | * Support va_arg for vararg arguments of composite (struct/union) types.Xavier Leroy2015-03-204-15/+67
| | | | | | | | | | | | ARM is done, IA32 and PowerPC remain to be updated.
| | * "ecomma" smart constructor: reassociate to the left so that it prints more ↵Xavier Leroy2015-03-201-2/+8
| | | | | | | | | | | | nicely.
| | * Fix .type and .size annotations: @ is comment, use % instead.Xavier Leroy2015-03-201-2/+6
| | |
| | * Improvements in the StructReturn transformation (ABI conformance for passing ↵Xavier Leroy2015-03-2012-363/+454
| | | | | | | | | | | | | | | | | | | | | | | | composites). - Implement the "1/2/4/8" composite return policy, used by IA32/MacOS X and IA32/BSD. - Move the default passing conventions from Machine.ml to compcert.ini, making it easier to test the various conventions. - More comprehensive interoperability test in regression/interop1.c.
| | * Missing initialization of current_function_sig.Xavier Leroy2015-03-143-3/+6
| | |
| | * Merge branch 'master' into struct-passingXavier Leroy2015-03-1412-3179/+3130
| | |\ | | | | | | | | | | | | | | | | Conflicts: ia32/PrintAsm.ml
| | * \ Merge branch 'master' into struct-passingXavier Leroy2015-03-1434-616/+1614
| | |\ \
| | * | | Improve performance and configurability for the StructReturn pass.Xavier Leroy2015-03-146-59/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | configure: special ABI value for IA32/MacOSX and PowerPC/Linux cparser/Machine: special config for PowerPC/Linux cparser/StructReturn: generate better code for return-as-int driver/Clflags, driver/Driver: add options -fstruct-return=<convention> and -fstruct-passing=<convention> to simplify testing
| | * | | More interoperability tests.Xavier Leroy2015-01-282-9/+34
| | | | |
| | * | | ABI compatibility for struct/union function arguments passed by value.Xavier Leroy2015-01-2712-74/+799
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The passing of struct/union arguments by value implemented in the verified part of CompCert is not compatible with the ARM, PowerPC and x86 ABI. Here we enrich the StructReturn source-to-source emulation pass so that it implements the calling conventions defined in these ABIs. Plus: for x86, implement the returning of struct/union results by value in a way compatible with the ABI.
* | | | | Added more comments and fixed issue in DwarfPrinter.mliBernhard Schommer2015-03-303-10/+21
| | | | |
* | | | | Refactored code, added comments and changed handling of types with ↵Bernhard Schommer2015-03-301-316/+417
| | | | | | | | | | | | | | | | | | | | attributes to avoid duplications.
* | | | | Merge branch 'master' into dwarfBernhard Schommer2015-03-301-2/+2
|\| | | |
| * | | | Only for options with value.Bernhard Schommer2015-03-281-2/+2
| | | | |
* | | | | Refactored the DwarfPrinter and added comments.Bernhard Schommer2015-03-301-106/+80
| | | | |
* | | | | Compute the size of structs using the result of the packing and bitfield ↵Bernhard Schommer2015-03-263-18/+36
| | | | | | | | | | | | | | | | | | | | transformations.
* | | | | Merge branch 'master' into dwarfBernhard Schommer2015-03-261-9/+4
|\| | | |
| * | | | Merge pull request #30 from jhjourdan/masterXavier Leroy2015-03-251-9/+4
| |\ \ \ \ | | | | | | | | | | | | Removing not used hypotheses in TREE
| | * | | | remove not used hypotheses in TREEJacques-Henri Jourdan2015-03-251-9/+4
| |/ / / /
* | | | | Added missing functions for printing the structs and unions. Still missing ↵Bernhard Schommer2015-03-246-31/+149
| | | | | | | | | | | | | | | | | | | | printing of packed structs.
* | | | | Added translation fucntion for declarations and fundefinitions.Bernhard Schommer2015-03-236-73/+188
| | | | |
* | | | | Merge branch 'master' into dwarfBernhard Schommer2015-03-231-2/+6
|\| | | |
| * | | | Fix .type and .size annotations: @ is comment, use % instead.Xavier Leroy2015-03-201-2/+6
| | | | |
* | | | | Activating the printing of the debug information for supported architecture.Bernhard Schommer2015-03-194-17/+48
| | | | |
* | | | | Added function to convert C types into their dwarf represnation.Bernhard Schommer2015-03-187-30/+208
| | | | |
* | | | | Added file for the translation of the C Ast to Dwarf debugging information.Bernhard Schommer2015-03-162-7/+18
| | | | |
* | | | | Added printers for the rest of the possible tags.Bernhard Schommer2015-03-162-14/+76
| | | | |
* | | | | Merge branch 'master' into dwarfBernhard Schommer2015-03-163-3/+6
|\| | | |
| * | | | Missing initialization of current_function_sig.Xavier Leroy2015-03-143-3/+6
| | |_|/ | |/| |
* | | | Started implementing the printing functions for the debug info. Added a ↵Bernhard Schommer2015-03-1612-158/+343
| | | | | | | | | | | | | | | | global target dependend option to activate the printing only for targets wher it works.
* | | | Started integrating the debug printing in the common backend_printer.Bernhard Schommer2015-03-1110-160/+169
| | | |
* | | | Merge branch 'master' into dwarfBernhard Schommer2015-03-111-1/+3
|\| | |
| * | | Issue #28: if the arguments of __builtin_memcpy_aligned are arrays, their ↵Xavier Leroy2015-03-101-1/+3
| | | | | | | | | | | | | | | | types must decay to pointer types in the "types" part of Ebuiltin.
| * | | Merge pull request #21 from AbsInt/backend_printerXavier Leroy2015-03-1011-3167/+3116
| |\ \ \ | | |_|/ | |/| | Re-factoring of the asm printers.
* | | | Merge remote-tracking branch 'github/backend_printer' into dwarfBernhard Schommer2015-03-1013-3441/+3116
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | Conflicts: arm/PrintAsm.ml ia32/PrintAsm.ml powerpc/PrintAsm.ml
| * | | Merge branch 'master' into backend_printerBernhard Schommer2015-03-102-11/+12
| |\| |
| * | | Merge branch 'master' into backend_printerBernhard Schommer2015-03-033-216/+7
| |\ \ \
| * \ \ \ Merge branch 'master' into backend_printerBernhard Schommer2015-02-2611-339/+646
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ia32/PrintAsm.ml
| * \ \ \ \ Merge branch 'master' into backend_printerBernhard Schommer2015-02-1918-8/+928
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ia32/PrintAsm.ml
| * | | | | | Removed unused sel_target, changed cygwin symbol names and changed the ↵Bernhard Schommer2015-02-195-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | default function aligment to be target dependent.
| * | | | | | Added an elf prefix to all common elf functions in PrintAsmaux.Bernhard Schommer2015-02-185-36/+50
| | | | | | |
| * | | | | | Changed print_fun/var_info to be functions instead of booleans.Bernhard Schommer2015-02-185-18/+16
| | | | | | |
| * | | | | | Removed some style issues.Bernhard Schommer2015-02-183-76/+82
| | | | | | |
| * | | | | | Changed arm backend to the common backend printer.Bernhard Schommer2015-02-097-1194/+1145
| | | | | | |
| * | | | | | Merge remote-tracking branch 'origin/master' into backend_printerBernhard Schommer2015-02-093-231/+226
| |\ \ \ \ \ \
| * | | | | | | Changed the ia32 backend to the new Printer.Bernhard Schommer2015-02-065-1035/+983
| | | | | | | |
| * | | | | | | Changed the ASM printer of the powerpc to the generalized backend.Bernhard Schommer2015-02-055-792/+850
| | | | | | | |