Commit Graph
47 Commits
Author SHA1 Message Date
Jeremy Rifkin 74efcfa754 Preprocessor output panel (#3330) 2022-02-11 15:42:41 +01:00
Marc Poulhiès 86dd8f7814 Ada: new pane for GNAT Debug Tree (#3190)
Support for the GNAT Tree emitted by `-gnatdt` on stdout.
The pane is also available in the diff tool.

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2021-12-28 15:35:11 +01:00
Marc Poulhiès 24693766d0 rust: HIR dump and small refactor with macro expansion (#3147)
Small refactoring for handling -Zunpretty calls:

- reuse options from main compiler invocation instead of crafting new ones.
- factor out common part.

Now also handles HIR output in a dedicated pane.
Still a lot of copy/pasting from the macro expansion.

fixes #2567

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2021-12-05 19:04:12 +01:00
Marc PoulhièsandMats Larsen 9b46d4f1fd Initial support for GNAT specific debug output (#3000)
This change only gets the GNAT Debug expanded generated code (-gnatD).

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Co-authored-by: Mats Larsen <me@supergrecko.com>
2021-10-13 19:59:26 +02:00
Mats Larsen 97134a9813 Fix linting errors from #2932 2021-09-27 10:03:22 +02:00
Mats Larsen 278d28b313 Add rustc Macro Expansion view (#2932)
Adds a new pane for producing the macro expansion of Rust code compiled with rustc.
2021-09-27 00:33:09 +02:00
Patrick Quist 5e5e60159a Multifile/IDE mode (#2725) 2021-08-26 21:57:07 +02:00
ca017bac31 Add support for heterogeneous compute (#2836)
* Extract device code from assembly files.

This commit by itself does not actually add any viewing panes for the
extracted device code, nor does it provide any means to provide
device-specific postprocessing steps.

* Add a rudimentary device view.

This doesn't handle multiple device outputs correctly at the moment, and
it provides no opportunity to view device code differently from
non-device code for now.

* Lint issues

* Some more WIP getting it working.

* Add device extraction code

* More fixes, and keep state

Co-authored-by: Joshua Cranmer <joshua.cranmer@intel.com>
Co-authored-by: Patrick Quist <partouf@gmail.com>
2021-08-14 12:53:22 -05:00
Patrick Quist 52a22dc1cb Minor cleanups (#2807)
* remove editorId dependency

* double compile bugfix

* remove editorId reference in toolinputview
2021-07-27 12:44:06 +02:00
Mats Larsen aa431e1336 Add rustc MIR output view (#2795)
* Add Rustc MIR representation view
* Enable MIR view for rust-cg-gcc
2021-07-24 10:56:06 -05:00
Tom Ritter ff75d02bec Allow a tool to have a separate monaco editor for it's stdinput (#2785)
* Allow a tool to have a separate monaco editor for it's stdinput

* Fix bugs identified during code review.

 - Selection wasn't being persisted in state.
   Needed to do some kind of ugly things to make this work...
 - Closing and re-opening the panel wasn't persisting the input!
 - getToolInputViewWith -> getToolInputView
 - remove _currentDecoration
2021-07-24 09:12:05 -05:00
Tom Ritter 448486f46d Create a seperate window for editing compiler flags (#2714)
* Create a seperate window for editing compiler flags

If you have a lot of compiler flags, you don't want to be editing
them in the tiny text box. So add a menu option above
'Popular Arguments' that lets you break out the flags into a
separate window, where you can edit them; one-per-line.

When this happens, the regular flags text box becomes disabled,
and the popular arguments dropdown is not populated.

* Fix the bug where the pane would not reappear upon a refresh, and would not contain the flags

* Use placeholder property instead of the value property
2021-07-22 19:52:35 +02:00
Matt Godbolt f68198af9e Reassign copyright to Compiler Explorer Authors (#2233) 2020-09-26 17:50:40 -05:00
Patrick Quist d6a86198b7 Copy compiler arguments for 'Executor from this' (#2191)
* copy compiler args to executor

* disable executor-from-this if no supportsExecute for compiler

* also hide hidden compilers
2020-09-06 16:36:22 +02:00
Rubén Rincón Blanco 5c9f6352a9 Add executor button to compiler that inherits it (#2135)
* Add executor button to compiler that inherits it

* Remove sneaky console.log
2020-08-29 21:32:23 +02:00
Iain Buclaw 916ce00126 Allow changing the detail level of GCC dumps in TREE and RTL view (#2134)
* Implemented all options that are common for all versions of GCC
  between 4.0 and 10.2.  These are available in a "Options" drop-down
  menu on the GCC Tree Viewer pane.

* Dump passes have been moved into a drop-down menu "Passes" to keep the
  row tidy.

* Add inter-procedural analysis dumps to GCC Tree Viewer.  The option
  -fdump-ipa-all has been around since GCC 4.0, though leaving it
 default unchecked in the UI.

* Adds [ON] or [OFF] to the titles of all filter buttons by implementing
  GccDump.prototype.updateButtons.

Fixes #2130
2020-08-25 22:59:55 -05: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
RabsRincon 0ecdf334c4 First implementation of execute-only pane
Maybe the name is a bit too... "Extreme" :P
2019-05-28 16:48:59 +02:00
Matt Godbolt b87322568e Merge branch 'master' into llvm 2019-03-21 20:31:42 -05:00
RabsRincon d8b29df687 Ensure Conf. view gets initial language on init 2019-03-21 19:40:33 +01:00
RabsRincon e32d084a8e [LLVM] Add LLVM IR view
- commit by @RabsRincon
2018-11-28 14:29:10 +01:00
Partouf 7d1a83f0eb independent source tooling and postcompilation asm tooling 2018-10-31 12:08:02 +01:00
RabsRincon d65f25efee Add pop out button for compiler pickers on c.f.
As suggested by @steveire :)
2018-09-10 19:18:50 +02: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
RabsRincon 62e68304e9 Format files 2018-02-07 23:58:21 +01:00
RabsRincon 80a7313e32 Improve CFG implementation
No longer creates the cfg nodes if not needed. CFG Structure creation
	is now simpler. Some bugfixes. Tests now actually run
2018-01-15 19:16:15 +01:00
RabsRincon 3f2fe0849e Fix default config compiler language
Oops...
2018-01-08 20:53:08 +01:00
RabsRincon 5be9998ddf Fix language selection from subdomain 2018-01-05 23:34:38 +01:00
RabsRincon fc75208dac New year, new date 2018-01-01 16:44:04 +01:00
RabsRincon 926cba8274 Close #701
I totally forgot about the poor components, but should be resolved
	now
2017-12-25 07:50:39 +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
Rubén f691aaea78 Finish up Chedy's PR
Mostly formatting issues, but also few minor improvements
2017-10-17 03:51:00 +02:00
cppchedy 94815bb1b9 address review cpmments on message display and filter data transfer 2017-10-16 20:10:22 +01:00
Rubén 4e8752fd73 Remove unused component getter 2017-10-12 01:53:53 +02:00
cppchedy 39f7494a06 added initial support for visualizing Cfg of multiples functions 2017-09-16 03:19:40 +01:00
cppchedy 3dd2506044 adding support for control flow graph mode 2017-09-15 00:08:34 +01:00
Rubén 5aaa2014a4 Add Conformance viewer
It needs some improvements here and there, plus a good dose of
thinking about the hard-limits actually present, like the max of
6 compilers per view, and 1 view per editor. Maybe we can afford
more compilers per view?
(I think that limiting it to 1 view per editor is a good call tho)

A necessary point before merging would be to fix the fact that
when sharing by URL, the contents of the view are not saved.

Releated issues: #461
2017-06-16 18:23:11 +02:00
Simon Brand c7a70dbc14 Track astOutput instead of optOutput in AST view component 2017-06-02 09:38:36 +01:00
Simon Brand 34465629c1 Support displaying the Clang AST 2017-05-31 10:08:58 +01:00
Rubén Rincón 6ccc456551 Bugfixes from modernization 2017-05-03 09:19:18 +02:00
Jared Wyles dd27a457fc This brings mostly UX changes.
1. Updates the button to be disabled instead of hidden
2. Disables the button on click. Re-enables when you close the opt view.
3. Will now not break when you have > 1 compiler
2017-04-21 19:18:49 +10:00
Jared Wyles cf882a5d0c First pass at adding a opt view mode for compiler explorer 2017-04-20 09:52:45 +10:00
Matt Godbolt af5decfe5c Work in progress on newer UI, and multiple editors 2017-02-16 07:55:22 -06:00
Matt Godbolt eb74776003 WIP on diffs 2017-01-04 17:12:52 -06:00
Matt Godbolt b6e9a4658b Another year, another copyright update 2017-01-02 10:14:46 -06:00
Matt Godbolt caf8a5e8a5 Move links into a share button 2016-11-01 21:27:02 -05:00