1682 Commits
Author SHA1 Message Date
Jeremy Rifkin c9fa390c7d Draft fix for #3637 2022-05-09 02:40:18 -04:00
Patrick Quist e984c9ab3d Option to load a custom popular arguments json from disk (#3597) 2022-05-06 19:05:24 +02:00
Rubén Rincón Blanco f19bebcf4f Add 405 handlers for API endpoints (#3620) 2022-05-06 18:56:33 +02:00
RabsRincon 9d9b62eab6 Normalize license header 2022-05-04 18:22:13 +02:00
Ofek 29b6e4a462 Fix #3275 : move from compiler-opt-info to compiler-opt-info2 (#3615)
* Fix #3275 : move from compiler-opt-info to compiler-opt-info2

* Add OfekShilon to contributors

* Migrate llvm opt-info processing from a lib inside CE

* Add MIT license text to new file
2022-05-04 18:16:34 +02:00
A S E d4cd96eb26 Add GHC Core and Cmm views #3571 (#3593) 2022-05-04 14:28:49 +02:00
Matt Godbolt 19ddc3384e Port cache code to Typescript (#3605)
* Port cache subsystem to typescript
* Extract an interface class
* Use async for s3 cache; add tests for failure case
2022-05-02 15:19:13 -05:00
Headline d68cc806b1 Automatically detect Java entry points (#3614) 2022-05-02 17:30:01 +02:00
Patrick Quist 2f56da5f92 lintfix 2022-04-30 17:46:05 +02:00
Patrick Quist fa9a274828 Clang force dwarf4 (#3604)
* this works, but args are hidden for user

* moved to optionsforfilter so user can see the parameter
2022-04-29 14:12:52 -05:00
Matt Godbolt 9b494f0d06 Move cache logging into a place where we have the key (#3606) 2022-04-29 14:10:50 -05:00
Matt Godbolt de161fd62d Log the hash of compiler cache accesses 2022-04-28 15:52:02 -05:00
Matt Godbolt 58337bb5bf Improvements to policy handling (#3595)
* Use webpack loaders to generate both the pug output and the SHA256 hash of it
* Uniformly use pug for HTML templating
* Policy hashes are entirely client-side
* No longer need to have the policy documents available to the server side
2022-04-28 15:19:06 -05:00
A S E 943af8f831 add a view for Haskell STG intermediary output #3571 (#3585) 2022-04-28 09:53:11 -05:00
Matt Godbolt 5ae6b304e4 Pre-compile typescript in releases (#3570)
* build the release in-place in out/dist
* run the tsc compiler on the code so everything is pre-transpiled
* serve the various generated html snippets uniformly from the web page so they come from one place.
2022-04-27 16:24:50 -05:00
Matt Godbolt 551a0be7ad Optionally log the compiler cache keys and accesses (#3583) 2022-04-27 10:24:04 -05:00
RabsRincon 154c18a40e Add noImplicitOverride to tsc config 2022-04-27 07:37:11 +02:00
Matt Godbolt 09df855cdb Handle missing asm information (#3569) 2022-04-26 13:32:42 -05:00
Matt Godbolt 7bb57642a3 Lint fixes 2022-04-26 09:24:37 -05:00
RabsRincon 5e5ee98be7 Fix 4 year old compiler ordering bug 2022-04-26 16:16:01 +02:00
Rubén Rincón Blanco 4965bd6c81 All semver comparisons now ensure it's safe to do so (#3562)
* All semver comparisons now ensure it's safe to do so

* Oops, use correct class

* Remove leftover import

* Leave the Zig fixes for another PR

* Fix linter

* Fix test issues

* Make linter happy, yet again

* What?

* Address PR review
2022-04-26 15:24:40 +02:00
Matt Godbolt aa65eb5e59 Merge branch 'main' into rr/comma-dangle 2022-04-26 07:19:02 -05:00
Matt Godbolt f77dd84690 Async WINE setup (#3558) 2022-04-26 07:09:37 -05:00
RabsRincon 40fe769459 Set comma-dangle to always in server code and es5 in client code 2022-04-26 05:26:48 +02:00
Anders-T | 0x80.eth fb35d64a92 Fix Solidity compilers and line numbers in versions 0.4.x - 0.8.x (#3561)
* fixing compilers 0.4.x - 0.8.x

* update contributors file
2022-04-26 04:20:13 +02:00
Matt Godbolt 21b764f392 Unify comma configuration; and apply format to some files. (#3559) 2022-04-25 18:22:11 -05:00
Matt Godbolt d35e98f7b9 Throw on bad mtime (#3556)
* Throw on bad mtime

Closes #3555 (thanks @Callum-Shipton)
2022-04-25 15:48:14 -05:00
Matt Godbolt d801f03641 Defer running buildenv stuff (#3550)
* compiler cache is keyed off of compiler's `mtime`
* `mtime` isn't set until `initialise()`
* buildenv was running stuff ahead of that, and so
  was being cached with a `null` `mtime`
* introduces a new `initialise()` call for `buildenv`
* now `throw` on trying to use compiler cache before
  mtime is set
2022-04-25 10:04:16 -05:00
Anders-T | 0x80.eth aa78a5ff17 Map solidity EVM assembly to lines of code (#3545)
* taking a snapshot of progress so far - generated sources are getting processed, and some fairly basic asm line assigning, but needs a second pass to rectify the issue of an asm instruction being attributed to multiple lines of code

* fixed silly bug in instruction line thing

* giving tags in generated sources human readable names

* generate human friendly tag names for tags in non-generated code, using AST to figure out which function we're in

* restoring most of the original formatting, and got constructor etc working too

* fixing linting errors

* add some comments
2022-04-24 02:18:35 +02:00
RabsRincon 1175b39179 Fix some ast types 2022-04-23 23:50:51 +02:00
Jeremy Rifkin 16b071b9f0 Updated x86 docenizer to read adjacent tables (#3541)
* Updated x86 docenizer to read adjacent tables

* Added regression test
2022-04-23 22:04:09 +02:00
Mats Larsen ef8f36df4c Convert lib/sources to TypeScript (#3526) 2022-04-18 16:48:00 +02:00
Alexey ShekhirinandRubén Rincón Blanco 2001d1b65e Add support for Solidity (#3507)
* feat(compilers): Solidity support MVP

* don't concat userOptions in optionsForFilter

* fixes after review

* Update etc/config/solidity.defaults.properties

Co-authored-by: Rubén Rincón Blanco <ruben@rinconblanco.es>

Co-authored-by: Rubén Rincón Blanco <ruben@rinconblanco.es>
2022-04-14 02:33:13 +02:00
Patrick Quist 17c01cf349 Fix for msvc library issue (#3501)
* fetch remote libraries on startup and put into client-options
* support remote libs in executor and conformanceview
2022-04-09 17:09:13 -05:00
Matt Godbolt 0487027dc0 Reorder user args first (#3496)
Rationale is "user args", filename, then autogenerated.
Closes #3492. Hopefully doesn't introduce another issue.
2022-04-04 21:55:28 -05:00
Patrick Quist 569df66502 bugfix library matching icx (#3484) 2022-04-02 16:47:06 -05:00
Rubén Rincón Blanco 48c95e849d Adds overridable orderArguments function (#3489)
Closes #3488
2022-04-02 23:26:11 +02:00
Jeremy Rifkin 63ca451388 Fix #3465 (#3466) 2022-04-01 07:41:17 -05:00
Omar Awile bb7b662db2 Moved inputFilename forward in compiler arguments (#3474)
When compiling to binary the order of source files and linked libaries
can matter for some compilers (and linkers). Putting the input file
first avoids linking issues in these cases.
2022-03-31 07:22:53 -05:00
Matt Godbolt 7c03aaeea2 Fix invalid typeof expression (#3454) 2022-03-21 23:52:20 -05:00
Matt Godbolt 3fba855d38 Some fixups for typescript (#3452) 2022-03-21 23:21:57 -05:00
ODuzharandAlex D df3042f29b Added TypeScript Native compiler (#3448)
* progress

* added some config

Co-authored-by: Alex D <duzhar@gmail.com>
2022-03-21 22:14:03 -05:00
Jeremy Rifkin 419d386bd9 Added keyword-spacing eslint rule and fixed instances of inconsistent spacing (#3428) 2022-03-07 22:38:58 -06:00
Jeremy Rifkin aa516e36df Add llvm-symbolizer to ASAN_SYMBOLIZER_PATH (#3425) 2022-03-07 11:13:06 +01:00
Matt Godbolt 181e2c2a08 Construct one FormattingHandler for all compilers (#3417)
Not my greatest design moment, but putting it in the CompilationEnvironment
is a compromise between creating the handler in the compilation create()
and passing it into all the compilers' constructors.
2022-03-01 05:56:20 -06:00
Matt Godbolt dc06a85242 Handle lines with no opcodes (#3416)
Fixes #3276
2022-03-01 05:55:45 -06:00
Jeremy Rifkin af4a55ed5e Fix preprocessor filtering with url #includes (#3398) 2022-02-26 13:34:54 -06:00
Juan José 2cf941d1e5 Move Prometheus metrics server into a separated file (#3391)
This will make the code a bit more readable and the Prometheus server more easy to maintain.
2022-02-26 13:33:46 -06:00
Rubén Rincón Blanco 48eee26d2c Group some files to their own folders (#3384)
* Group some files to their own folders

In etc/scripts/, added disasms/, docenizers/, and util/ folders
In lib/, added mapfiles/, and parsers/ folders (+moved google.js to
shortener)
In static/, added widgets/ folder

Added cypress folder to .gitignore

* Address Matt's PR reviews

* Move new Pane renaming to folder
2022-02-22 00:18:21 +01:00
Patrick Quist c3bba29e0b Discovered compiler tool fixes (#3377) 2022-02-17 19:50:09 +01:00