[M3commit] [modula3/cm3] ce93dc: Add needed protocal response for HTTP

GitHub noreply at github.com
Fri Nov 3 06:30:00 CET 2017


  Branch: refs/heads/master
  Home:   https://github.com/modula3/cm3
  Commit: ce93dcb1b2c2dc3be5dbfdc6eed7f4d869200135
      https://github.com/modula3/cm3/commit/ce93dcb1b2c2dc3be5dbfdc6eed7f4d869200135
  Author: peter mckinna <peter mckinna at gmail.com>
  Date:   2017-10-30 (Mon, 30 Oct 2017)

  Changed paths:
    M examples/httpd/src/HTTPD.m3

  Log Message:
  -----------
  Add needed protocal response for HTTP


  Commit: c9017791ad2c4797eb9e83c60ed7a496bf89fac0
      https://github.com/modula3/cm3/commit/c9017791ad2c4797eb9e83c60ed7a496bf89fac0
  Author: peter mckinna <peter mckinna at gmail.com>
  Date:   2017-11-03 (Fri, 03 Nov 2017)

  Changed paths:
    M m3-sys/cm3/src/Makefile.m3

  Log Message:
  -----------
  Add command line support for disabling debugger output and extend optimization levels

Added support for -g0 to disable debugger information being built by the backend
this is primarily to enable developers to read the generated assembly and compare
output from cmc3g and llvm. The option is available for both gcc and clang.

Also added is support for -O0 -O1 -O2 -O3 optimisation levels which are passed to the
backend. O0 disables optimisation and the other levels are in line with gcc and llvm
llc and opt tools.


  Commit: e75323be621b836083a495b01b1f0dcc383632eb
      https://github.com/modula3/cm3/commit/e75323be621b836083a495b01b1f0dcc383632eb
  Author: peter mckinna <peter mckinna at gmail.com>
  Date:   2017-11-03 (Fri, 03 Nov 2017)

  Changed paths:
    M m3-sys/cminstall/src/config-no-install/Unix.common

  Log Message:
  -----------
  Allow llvm optimzation pass opt to be called at various optimization levels

The llvm opt tool does various IR to IR optimization transformations.
This tool is only invoked if -O (or -O0-3) is specified on the command line.

The file generated is basefile_opt.(mb|ib) and is deleted unless -keep
is also specified.


  Commit: 11c5dbb060c9e5075d76e1b7f8a5703a6ec46908
      https://github.com/modula3/cm3/commit/11c5dbb060c9e5075d76e1b7f8a5703a6ec46908
  Author: peter mckinna <peter mckinna at gmail.com>
  Date:   2017-11-03 (Fri, 03 Nov 2017)

  Changed paths:
    M m3-sys/llvm3.6.1/src/M3CG_LLVM.m3

  Log Message:
  -----------
  Add source line info to abort procedure

llvm was not passing the source line to ReportFault to aid in runtime error
diagnosis.

Also removed a couple of warnings for unused vars.


  Commit: 7c7fa0d716d965bcb76d6d5dcac14d12f42de4fd
      https://github.com/modula3/cm3/commit/7c7fa0d716d965bcb76d6d5dcac14d12f42de4fd
  Author: peter mckinna <peter mckinna at gmail.com>
  Date:   2017-11-03 (Fri, 03 Nov 2017)

  Changed paths:
    M m3-sys/m3tests/src/m3makefile

  Log Message:
  -----------
  Pass nodebug to cm3 for llvm tests

Currently M3CG_LLVM has problems with debugging. Passing -g0 in cm3 command
avoids the problem and allows proper testing using the llvm backend.

Note there may be another way to do this.

It also allows us to pass an optimisation level to the test if needed.


Compare: https://github.com/modula3/cm3/compare/c951d2fd5fad...7c7fa0d716d9


More information about the M3commit mailing list