Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Save Linear IR before emit (#8939) | Greta Yorsh | 2020-10-07 | 5 | -5/+47 | |
| | | | | | | | | | | | * Save IR before emit * Update .depend for linear_format * Test for -save-ir-after command-line option * Address review comments * Add Changes entry | |||||
* | Fix handling of Exit_compiler exception in toplevel (#9798) | Nicolás Ojeda Bär | 2020-10-05 | 5 | -11/+11 | |
| | ||||||
* | Unopen Compenv in the code base (this is a nop). (#9933) | Daniel Bünzli | 2020-09-23 | 6 | -61/+57 | |
| | ||||||
* | Use polymorphic compare to empty string instead of checking length for 0 | Josh Berdine | 2020-09-01 | 1 | -1/+1 | |
| | ||||||
* | Treat set-but-empty OCAMLPARAM the same as unset | Josh Berdine | 2020-08-21 | 1 | -11/+12 | |
| | | | | | | | | In case the OCAMLPARAM environment variable is set to the empty string, the current behavior is to attempt to parse it, which fails to find the `_` character separating the "before" and "after" settings. This patch changes this to treat OCAMLPARAM set to the empty string the same as being unset, which is to do nothing. | |||||
* | ocamldep: do not process files during cli parsing. (#9795) | Daniel Bünzli | 2020-07-23 | 1 | -4/+20 | |
| | | | It leads to broken cli behaviour. Closes #9299. | |||||
* | Rename No_unsafe_array_syntax_without_parsing => ↵ | Nicolás Ojeda Bär | 2020-07-20 | 1 | -1/+1 | |
| | | | | Unsafe_array_syntax_without_parsing | |||||
* | Rename Unsafe_without_parsing => No_unsafe_array_syntax_without_parsing | Nicolás Ojeda Bär | 2020-07-20 | 1 | -1/+1 | |
| | ||||||
* | Merge pull request #9688 from stedolan/main-compiler-libs | Stephen Dolan | 2020-07-06 | 10 | -272/+290 | |
|\ | | | | | Expose the main entrypoint in compilerlibs | |||||
| * | Start Clflags.parse_arguments from 0 | Stephen Dolan | 2020-06-30 | 1 | -6/+10 | |
| | | ||||||
| * | Move code of main and optmain to compilerlibs | Stephen Dolan | 2020-06-30 | 7 | -268/+268 | |
| | | ||||||
| * | Move calls to exit to main/optmain | Stephen Dolan | 2020-06-30 | 5 | -20/+34 | |
| | | ||||||
* | | Make the `mark` parameters in `Includemod` non-optional | Leo White | 2020-06-25 | 1 | -1/+1 | |
|/ | ||||||
* | Arg: a new Rest_all spec, similar to Rest, that passes all arguments at once | Gabriel Scherer | 2020-06-05 | 1 | -0/+2 | |
| | | | | | In particular this allow to detect a Rest_all keyword followed by no arguments at all (an empty list). | |||||
* | Merge pull request #9357 from muskangarg21/makedepend | Florian Angeletti | 2020-03-17 | 1 | -2/+7 | |
|\ | | | | | [Ocamldep] [TOOLS] : -nocwd argument to not include current dir to search path | |||||
| * | TOOLS: Ocamldep arg to not include current dir to search path | muskangarg21 | 2020-03-16 | 1 | -2/+7 | |
| | | ||||||
* | | Deprecate -annot (#2141) | Nicolás Ojeda Bär | 2020-03-13 | 2 | -10/+7 | |
|/ | | | | | | | | | | | | | | | | * Move driver code from Cmt2annot to Read_cmt * Move cmt2annot.ml into typing/ * make depend * Use standard error handling * Move specific logic to read_cmt * Do not pass full cmt record as argument * Better locations * Emit .annot files produced from cmt data * Remove direct calls to Stypes * Deprecate -annot * Changes * make depend * Adapt doc * make -C tools depend | |||||
* | Uid.reinit | Thomas Refis | 2020-03-05 | 1 | -0/+1 | |
| | ||||||
* | Merge pull request #9021 from Octachron/longident_parser | Gabriel Scherer | 2020-01-10 | 1 | -1/+6 | |
|\ | | | | | Expose parsers for Longident.t | |||||
| * | compilerlibs: expose parsers for 'Longident.t's | Florian Angeletti | 2020-01-09 | 1 | -1/+6 | |
| | | ||||||
* | | -dno-locations: hide source locations (and debug events) from IR dumps | Gabriel Scherer | 2020-01-09 | 2 | -1/+22 | |
|/ | | | | | | This PR was tested with also the -dsel, -dlinear output (also fixed to not-print locations), but the output is architecture-dependent so this part of the test was removed. | |||||
* | Add Compenv.stop_early flag | Greta Yorsh | 2019-11-04 | 5 | -21/+22 | |
| | ||||||
* | Rename stop_after_pass_names to available_pass_names | Greta Yorsh | 2019-11-04 | 4 | -4/+4 | |
| | ||||||
* | Use stop_early instead of compile_only | Greta Yorsh | 2019-11-04 | 4 | -10/+16 | |
| | ||||||
* | Stop before emit | Greta Yorsh | 2019-10-30 | 4 | -20/+34 | |
| | ||||||
* | Fix check for incompatible -c and -o options | Greta Yorsh | 2019-10-15 | 1 | -1/+1 | |
| | ||||||
* | Warn about unused functor parameters (#8891) | Thomas Refis | 2019-10-14 | 1 | -5/+5 | |
| | ||||||
* | add -dinterval to ocamlnat | Florian Angeletti | 2019-09-30 | 2 | -3/+4 | |
| | ||||||
* | add support for no_float_const_prop to ocamlnat | Florian Angeletti | 2019-09-30 | 2 | -3/+4 | |
| | ||||||
* | Add -linscan to ocamlnat | Florian Angeletti | 2019-09-30 | 2 | -3/+4 | |
| | | | | | in order to reduce the difference between the native compiler and toplevel. | |||||
* | share argument implementation across executable | Florian Angeletti | 2019-09-30 | 4 | -354/+342 | |
| | | | | | | | | | | | | This commit defines five default argument modules in Main_args.default. Those modules provide a default implementation for the argument of ocaml, ocamlnat, ocamlc, ocamlopt, ocamldoc, ocamlcp, ocamloptp, and expect_test. Grouping together those implementations allow to share as much as possible similar implementation across executables. It should make easier to keep synchronized the various implementation, or reuse those implementation in alternative drivers. | |||||
* | Cleanup ocamldoc pre-arguments | Florian Angeletti | 2019-09-30 | 2 | -17/+31 | |
| | | | | | This commit removes all pre-arguments that were defined in Odoc_args but never turned into actual arguments. | |||||
* | Merge dump_live and print_live | Florian Angeletti | 2019-09-30 | 1 | -1/+1 | |
| | ||||||
* | Add a new -output-complete-exe option (#8872) | Nicolás Ojeda Bär | 2019-09-25 | 3 | -1/+12 | |
| | | | This option allows to build self-contained bytecode executable and is aimed to replace `-custom`. The main difference between the two is that executables produced by `-output-compete-exe` can be stripped. | |||||
* | Add function-sections to OCAMLPARAM | Greta Yorsh | 2019-07-15 | 1 | -0/+2 | |
| | ||||||
* | Add compile-time option -function-sections | Greta Yorsh | 2019-07-15 | 3 | -0/+19 | |
| | ||||||
* | Remove unused file driver/ocamlcomp.sh.in | Sébastien Hinderer | 2019-07-10 | 1 | -20/+0 | |
| | | | | | No file seems to reference it. In particular, it is never turned into a genuine shell script. | |||||
* | Improve shell scripts (#1690) | zapashcanon | 2019-06-19 | 1 | -2/+2 | |
| | ||||||
* | Merge pull request #2309 from TheLortex/runtime-variant-path | Gabriel Scherer | 2019-06-19 | 5 | -0/+23 | |
|\ | | | | | Add -noruntime option | |||||
| * | without-runtime: cosmetic tweaks | Lucas Pluvinage | 2019-06-11 | 1 | -1/+1 | |
| | | ||||||
| * | Introduce the -without-runtime option. | Lucas Pluvinage | 2019-05-06 | 5 | -0/+23 | |
| | | ||||||
* | | Fixing misspellings | JPR | 2019-05-21 | 1 | -1/+1 | |
| | | ||||||
* | | Move some code from Asmgen to the middle end directory etc. (#2288) | Mark Shinwell | 2019-05-10 | 1 | -12/+21 | |
|/ | | | Followup to (#2281) | |||||
* | Fix #8635 | Jeremie Dimino | 2019-04-23 | 1 | -13/+27 | |
| | ||||||
* | Fix check-typo errors | Nicolás Ojeda Bär | 2019-04-10 | 1 | -3/+8 | |
| | ||||||
* | ocamldep: .ml in earlier include dirs should shadow .mli in later include dirs | Nicolás Ojeda Bär | 2019-04-09 | 1 | -42/+35 | |
| | ||||||
* | Move some middle-end files around (#2281) | Mark Shinwell | 2019-04-01 | 2 | -4/+5 | |
| | | | | | | * Various file moves in the middle end: this is the first stage of improving separation between the middle end and backend. * Creation of file_formats/ directory (with associated file moves) to hold the definitions of compilation artifact formats. * Creation of lambda/ directory (with associated file moves) to hold Lambda language definition files, transformation passes and construction passes from Typedtree. * Disable (hopefully temporarily) dynlink, debugger and ocamldoc for the dune build. | |||||
* | Update issue numbers in comments after Mantis -> Github migration. (#8505) | Stephen Dolan | 2019-03-18 | 1 | -1/+1 | |
| | ||||||
* | Remove gprof support (#2314) | Mark Shinwell | 2019-03-16 | 3 | -7/+4 | |
| | | | | This commit removes support for gprof-based profiling (the -p option to ocamlopt). It follows a discussion on the core developers' list, which indicated that removing gprof support was a reasonable thing to do. The rationale is that there are better easy-to-use profilers out there now, such as perf for Linux and Instruments on macOS; and the gprof support has always been patchy across targets. We save a whole build of the runtime and simplify some other parts of the codebase by removing it. | |||||
* | main_args: remove some redundancy in Ocamldoc_options. | Thomas Refis | 2019-03-15 | 2 | -8/+0 | |
| |