Commit Graph
92 Commits
Author SHA1 Message Date
Matt Godbolt 13ab1dbbfb Enqueue compiler version requests to not swamp startup. Addresses #648 2017-11-25 15:55:18 -06:00
RabsRincon 5d80e83f62 Allow older Go versions to run better! 2017-11-25 01:02:07 +01:00
RabsRincon 482537e8e9 Format recently merged files 2017-11-23 09:31:12 +01:00
Marc Poulhiès 4ebc4511c2 gccdump: add basic syntax highlighting
Based on 'mylang' example that mostly works correctly for gimple.
Added all RTL classes and ';' prefixed comment.

Still a lot could be done, but it's better than without any color
highlighting.
2017-11-22 22:41:41 +01:00
Matt Godbolt cf407a85ef Add some config parameters that come from AWS itself. Use it to configure raven (sentry.io) on the server 2017-11-21 22:52:58 -06:00
RabsRincon 97aa04e5d0 Add newer GoLang compilers
This might not totally work, but it should.
2017-11-22 02:35:38 +01:00
Matt Godbolt 106bc4b7a4 Belt and suspenders fixup maybe for error: TypeError: Cannot read property 'opened' of undefined
at /compiler-explorer/lib/base-compiler.js:274:65
2017-11-20 11:24:18 -06:00
Marc Poulhiès 3cfde41815 gccdump: display message for empty dump files
Some passes can produce empty file. Avoid user confusion by making
this emptyness explicit to the user.
2017-11-18 15:10:21 +01:00
partouf 8d1c52031d oops, bugfix 2017-11-15 21:20:56 +01:00
partouf f2f8d1371d bugfix 2017-11-15 21:17:35 +01:00
partouf c9c62ac4b2 Minimal FPC support 2017-11-15 21:17:02 +01:00
Marc Poulhiès cfefa37387 Initial support for GCC Tree/RTL dumps.
The GCCDump pane can exhibits incorrect behavior when opened from
a shared link. Until it is fixed, move pane after its corresponding
compiler or do not use shared links.
2017-11-14 14:43:36 +01:00
cppchedy b804e0b5bd desactivate Cfg mode when binary filter is set 2017-10-12 19:20:37 +01:00
Matt Godbolt 13dce4a360 Merge pull request #540 from AndrewPardoe/master
Merge back changes to run CE under Windows Subsystem for Linux
2017-10-07 12:27:28 -05:00
Rubén d193739ecc Bring every file up-to-format-date 2017-10-02 22:01:38 +02:00
Andrew Pardoe 8aade5f7cb Merge remote-tracking branch 'godbolt/master' 2017-09-27 10:55:46 -07:00
Rubén 7957cefec2 Add minor changes to Cfg views. (CC @cppchedy) 2017-09-26 17:18:53 +02:00
Rubén 65c6ff79d8 Finish up Cfg view review concerns 2017-09-26 12:57:47 +02:00
cppchedy 297658e805 Merge branch 'master' of https://github.com/mattgodbolt/compiler-explorer
Conflicts:
	lib/base-compiler.js
2017-09-25 15:11:19 +01:00
cppchedy 3ae8673b6c resolve other review comments 2017-09-25 14:59:16 +01:00
cppchedy 6da213f7ff resolve review comments 2017-09-25 14:09:07 +01:00
Matt Godbolt 32516e130e Support not-demangling in binary mode too 2017-09-22 08:28:37 -05:00
Rubén 027d29e030 Add filter that disables demangling
It should work everywhere
Didn't think it would be so easy!

Closes #285
2017-09-22 09:30:53 +02:00
Matt Godbolt aedf439925 Ensure processOptOutput always completes.
Previously if the demangling step thew an exception, we'd never
resolve the promise (or reject it). That meant the compilation request
hung forever awaiting it to finish. We must always ensure new promises
return. "reject" didn't work in this case, so for now I opted to return
the non-demangled output.

Fixes #525

For real this time.
2017-09-21 16:24:06 -05:00
cppchedy 44dd2c1506 stop node from shaking 2017-09-20 14:23:26 +01:00
cppchedy 848cf1b011 Guard against non cpp compilers 2017-09-20 11:52:19 +01:00
cppchedy ef84c870aa add support for clang for Cfg generation 2017-09-20 11:24:53 +01:00
cppchedy baa9647332 support generation of Cfg structure when filter are not set 2017-09-20 08:42:31 +01:00
cppchedy 4ac64ab503 change raw values to constant. 2017-09-19 19:30:11 +01:00
cppchedy 5994479fde modified names of functions and variables to follow naming convention 2017-09-19 17:52:01 +01:00
cppchedy 58ae9a972e removed logs 2017-09-19 17:06:27 +01:00
cppchedy 37db98cc04 produce CGF structure only if filter are set.
handle empty source code case.
2017-09-18 21:19:27 +01:00
cppchedy 52a224e425 made fixes to pass test 2017-09-17 23:47:32 +01:00
cppchedy 5163fa0ec8 disable/enable CFG button based on compiler support 2017-09-17 17:42:54 +01:00
cppchedy de8a12dbec make generation only if gcc 2017-09-16 21:55:38 +01:00
cppchedy f24150439d use demangled functions in ouput 2017-09-16 15:39:09 +01:00
cppchedy 1cab3b4235 fixed error: compilation error not showing 2017-09-16 04:44:35 +01:00
cppchedy 3bfe4a184f Merge branch 'master' of https://github.com/mattgodbolt/compiler-explorer into mattgodbolt-master
_____
2017-09-15 00:41:28 +01:00
cppchedy 3dd2506044 adding support for control flow graph mode 2017-09-15 00:08:34 +01:00
jaredwy 573ff1027f Allow options for filters to look at useroptions this allows us to add/remove options per compiler such as for rust where we need to not add the --emit argument if the user has passed us one 2017-09-01 19:46:27 +10:00
jaredwy 69f10bf295 Adding in LDC opt view support 2017-08-31 20:06:55 +10:00
Andrew Pardoe 78cf1209d8 Cleaned up changes to get rid of crazy parse fail 2017-08-17 22:19:58 -07:00
Matt Godbolt 3c80c6eff0 Fix some minor issues with compiler type determination.
Remove 'compiler.type' in favour of the comiler itself being
given an option to say what type it is. Default for that does
the same guess that the old code did (plus some bug fixes).

Fixed up (I hope!) some of the parsing of the output. I should write
some tests really.

CC @jaredw for further comment
2017-07-12 15:12:49 -05:00
jaredwy 7de967f8ef Merging request options into 1 options object, this makes it clearer to me 2017-07-05 20:09:25 +10:00
jaredwy 13cd0fd797 Made some changes to the way we parse arguments as a stab at a start of a meta data gatherer 2017-07-03 17:45:09 +10:00
Matt Godbolt db8bf4e520 Early support for swift. test with make EXTRA_ARGS="--language Swift"
Huge thanks to @adamnemecek for his help: this is mostly a
merge of his branch.
2017-06-19 19:40:46 -05:00
Simon Brand 7a57b3aa84 Ensure that backendOptions is defined 2017-06-08 20:15:59 +01:00
Matt Godbolt cb2d52b00c Further appeasement of lint 2017-06-05 22:00:06 -05:00
Matt Godbolt 2a713568b3 Add 'use strict' to make node happy. 2017-06-05 21:56:26 -05:00
Simon Brand fbe572bdc8 Merge branch 'master' of https://github.com/mattgodbolt/compiler-explorer 2017-06-05 14:43:58 +01:00