Commit Graph
297 Commits
Author SHA1 Message Date
RabsRincon fdaddd67c0 Fix last newgols errors 2017-11-22 02:38:01 +01: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
partouf 1046fed397 support both asm output and objdumb output 2017-11-18 18:47:56 +01: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 07d19b3253 use custom fpc.cfg 2017-11-18 03:59:08 +01:00
RabsRincon 9513de0adc Mitigate #624
This does not fix the underlying cause (Trying to access an undefined
element). @cppchedy will look into it further, but is enough to
close the issue

Closes #624
2017-11-18 01:15:24 +01:00
partouf 7d6c1205df removed logging 2017-11-17 21:43:58 +01:00
partouf 8d1c52031d oops, bugfix 2017-11-15 21:20:56 +01:00
partouf fe8b1267a2 setting not needed 2017-11-15 21:17:35 +01:00
partouf b693a4614f undo supports binary change 2017-11-15 21:17:35 +01:00
partouf 65ef5df5f9 fixes after codereview 2017-11-15 21:17:35 +01:00
partouf 6bfec26f6e indentation 2017-11-15 21:17:35 +01:00
partouf 7ace3a7edf . 2017-11-15 21:17:35 +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
Marc Poulhiès 9784aa54bf Better handling of assignments in assembly
Some assembly syntax can use '='. Refine asm filtering to only
consider as assignements statements of the form:

 Some_Name = Some Thing Else

ie. Checks that LHS has exactly 1 element.
Include a new test using such assembly.

fix #620
2017-11-14 13:26:29 +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 7cf0eaf2f1 fix of function filter 2017-10-13 22:55:18 +01:00
cppchedy b804e0b5bd desactivate Cfg mode when binary filter is set 2017-10-12 19:20:37 +01:00
Rubén f8cb1a58ff Improve minor things in cfg code 2017-10-12 01:53:53 +02: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 895b66d62f Fix minor mistakes on asm-tooltip 2017-10-06 20:18:45 +02:00
Matt Godbolt 54aa4a52d5 Generate new-style source annotation in binary mode. Fixes #553 2017-10-06 08:31:06 -05:00
Matt Godbolt 767351f5d4 Fixes #555 2017-10-06 08:26:26 -05:00
Matt Godbolt 83ff13813b Better handling of labels in asm.
* Treats `FOO = BAR` like label definitions
* Uses `.globl` and `.global` as roots for detecting interesting symbols
* No longer assumes all uninteresting variables start with `.`

Fixes #320
2017-10-04 22:49:38 -05:00
Rubén d193739ecc Bring every file up-to-format-date 2017-10-02 22:01:38 +02:00
apardoe@microsoft.com 3ea1b4ee60 Addressing feedback from RabsRicon 2017-09-27 14:50:56 -07: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 f74b3c0f06 fix bug in basic block generation 2017-09-26 00:17:29 +01:00
cppchedy 747ee239c2 added test, resolved some reviews 2017-09-25 22:21:13 +01: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
Matt Godbolt 89d71b366a Pass LD_LIBRARY_PATH to compiler environment too 2017-09-21 16:23:36 -05:00
Matt Godbolt d7ac386279 Massive WAG at getting site up again 2017-09-21 15:45:25 -05:00
cppchedy 13a9f8e1de put the starting node of the current function in selected state. fix filter: deal with typeinfo, vtable .... 2017-09-21 17:24:09 +01:00
cppchedy dcbd890e7e variable name changed, comment deleted 2017-09-21 16:17:03 +01: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 e51e8a128a add semicolon 2017-09-20 11:40:34 +01:00
cppchedy 299edc3f75 fix bug 2017-09-20 11:36:43 +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