Commit Graph
56 Commits
Author SHA1 Message Date
Matt Godbolt 61c296bbe2 Fix lint 2021-04-01 14:11:24 -05:00
Matt Godbolt b3f50c875c Fix up objdump for pascal (thanks @jrtc27) 2021-04-01 09:59:17 -05:00
Jessica Clarke af686e81f7 Support ELF Tool Chain and LLVM objdump (#2538)
* Remove redundant implementations of objdump function

* Add support for ELF Tool Chain and LLVM objdump

Only binutils supports --insn-width and LLVM uses --x86-asm-syntax=intel
rather than -M intel. The default remains binutils.
2021-04-01 08:34:07 -05:00
Patrick Quist 7edd6d40ac Time all the things (#2462)
* time executeDirect in ms

* measure library download and extract time

* time package download

* download timings when using execution checkbox

* proof of concept timing graph implementation

* use vertical bars for graph

* add objdump time

* add timing for asm parsing

* add timing graph to execution pane as well

* download timings on execution pane

* things
2021-03-11 17:37:57 +01:00
Patrick Quist a2eed58cd0 Transfer copyright to compiler explorer authors (#2232) 2020-09-26 18:26:02 -04:00
Austin Morton 044dcfbf88 Use ES6 Modules (#2132) 2020-09-26 16:59:26 -04:00
Austin Morton bac07fea6d Eliminate all dynamic require statements (#2230) 2020-09-25 11:21:30 -04:00
Patrick Quist a57da71c7b Add FPC 3.2.0 (#2185)
* enable fpc 3.2.0

* change fpc default

* way to add nasm to path for fpc

* enable intel asm mode through nasm

* only override env when we have nasmpath

* disable intel checkbox for now, needs some work
2020-09-05 17:51:56 +02:00
Rubén Rincón BlancoandAustin Morton ccff4b9ee5 Add new eslint rules (#2121)
The largest changes here are:
- enforcing single quotes for strings
- enforcing trailing commas where possible

In addition to those we have enabled several eslint plugins:
- plugin:requirejs/recommended, to enforce some conventions in require statements
- plugin:node/recommended, to enforce correct usage of various node.js APIs
- plugin:unicorn/recommended, which contains a pretty mixed bag of useful rules

This PR attempts to not change code behavior when possible.  In cases where fixing
existing code would change semantics, a linting exclusion has been placed in the 
code base to silence the error.  You can find these by searching for `eslint-disable-next-line`.

Co-authored-by: Austin Morton <austinpmorton@gmail.com>
2020-08-04 16:39:02 -04:00
Patrick Quist 7befe688c2 bugfix (#2088) 2020-07-17 14:02:54 +02:00
Matt Godbolt a15a4dae0b Asyncify pascal 2020-01-21 22:05:02 -06:00
Partouf ea6e1eded6 change fpc demangler instantiation, fix #1528 2019-08-08 15:35:52 +02:00
Matt Godbolt af3a68313a Merge remote-tracking branch 'origin/master' into executorpane 2019-06-27 07:17:25 -05:00
Partouf 566d019f75 rename pascal-support to demangler-pascal 2019-06-10 14:21:33 +02:00
RabsRincon af24e16e85 Initial stding support for the executor pane
Newlines are a matter of fixing the UI
2019-05-29 17:58:17 +02:00
Matt Godbolt 31404db542 Fix pascal to use customCwd appropriately 2019-05-15 13:37:17 -05:00
Matt Godbolt 8807b6ae7b Ensure objdump runs in the right directory 2019-05-15 12:03:36 -05:00
Partouf e892d3506f change argument parser for some compilers 2019-01-08 03:20:30 +01:00
Partouf 863d4b5cd5 refactor 2018-11-06 14:55:21 +01:00
Partouf 2a6e10ccb5 attempt at seperating compilation and execution 2018-11-06 12:56:36 +01:00
RabsRincon 7c18ffe8cf Drop underscore-node in favour of underscore.js
After some suprises about how outdated the node version was compared to
	the main project, it became clear we needed to do something.
	@jaredwy suggested using the main project as there's now nothing
	stopping us from using it after the switch to webpack.

cc @mattgodbolDrop underscore-node in favour of underscore.js
2018-06-15 15:04:55 +02:00
Partouf 7246b32159 refactoring, bugfixes and unittest 2018-04-22 15:16:19 +02:00
Partouf 885a9876fc unittest fixes 2018-04-22 15:15:52 +02:00
Partouf 7ed923d50d use property for demanglerClassFile and start using it 2018-04-22 15:15:52 +02:00
Partouf f16c7bb7f3 refactor to add extra test 2018-03-15 18:30:31 +01:00
Partouf a58689b664 remove temp path from filenames in output 2018-03-15 18:03:21 +01:00
Partouf b74c7ff083 ahem 2018-03-15 17:55:45 +01:00
Partouf 6af834684f bugfix inputfilename 2018-03-15 17:53:35 +01:00
RabsRincon 6ef87b5ef9 Fix copyright dates and normalize text 2018-02-27 14:58:21 +01:00
RabsRincon 670afd8921 Move to ESLint
Somewhat compilant!
2018-02-13 14:49:07 +01:00
jaredwy 3f362fd9fc Enabling eqeqeeq for server side codee as w ell 2018-02-08 08:32:25 +11:00
Partouf 457a6f5346 compiler handler calls initialise() 2018-01-28 00:46:44 +01:00
Partouf 9a76e777a7 remove return initialise, no need for unittestmode 2018-01-28 00:34:05 +01:00
Partouf b03121916c whitespace things 2018-01-20 22:44:08 +01:00
Partouf 950cd510e9 fixes pascal 2018-01-20 22:42:05 +01:00
RabsRincon d493dfb7cc Format code 2018-01-18 19:46:02 +01:00
RabsRincon a54faefb4c ES6fy compilers inheritance 2018-01-18 19:43:10 +01:00
partouf 7fa8dbd85a shortened notation 2018-01-03 13:09:50 +01:00
partouf b5d4ab04fc don't use argumentparser on compilers we're certain to not have anything useful 2018-01-03 12:59:15 +01:00
RabsRincon fc75208dac New year, new date 2018-01-01 16:44:04 +01:00
RabsRincon 3692c298a6 Stop storing the same info twice 2017-12-29 11:08:01 +01:00
partouf 6070cfe3c7 Always use output.pas as filename, otherwise things will break.
Tried to make it flexible but ran into trouble in pascal-support.js
2017-12-22 18:15:26 +01:00
Matt Godbolt d085bac708 Remove explicit langid, as it's part of the compiler config already 2017-12-22 08:01:33 -06:00
Rubén b3a5cf842f Merge branch 'master' into unification 2017-12-12 13:24:10 +01:00
partouf 115d1143c1 bugfix + deprecated fix 2017-12-11 23:28:04 +01:00
partouf 50604abff1 refactoring 2017-12-11 23:27:47 +01:00
RabsRincon a8faae2b89 Remove unused logger
Last commit of the day! Unification is now closer than ever.
2017-12-04 03:44:17 +01:00
RabsRincon 31aea03b33 Unify Pascal compilers 2017-12-04 03:41:48 +01:00
partouf 77251dec6d set the output directory so link.res won't be created in the CWD 2017-11-29 21:14:34 +01:00
partouf 2446ea582b separate demangler into support library 2017-11-28 21:22:53 +01:00