Commit Graph
275 Commits
Author SHA1 Message Date
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
cppchedy 985741b548 fixed bug 2017-09-20 01:49:24 +01:00
cppchedy 3aa53d678c other changes requested 2017-09-19 23:48:37 +01:00
cppchedy e62b6d20a8 modified according to reviewers 2017-09-19 23:24:08 +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 5e134471e0 add a button in Graph view to show/hide navigation buttons in the convas.
replace use bind instead of var self = this
2017-09-18 16:47:45 +01:00
cppchedy baa5fa80c1 truncate long instruction 2017-09-18 00:28:22 +01:00
cppchedy 52a224e425 made fixes to pass test 2017-09-17 23:47:32 +01:00
cppchedy 345549a2b7 add missing semicolon 2017-09-17 23:25:00 +01:00
cppchedy 8878e2551a Made changes to the structure of CFG to grab nodes and edges by function name.
the structure was two separated arrays for nodes and edges.

transformed to an object with keys as functions names and the associated values
are object containing function nodes and edges
2017-09-17 18:14:51 +01:00
cppchedy 5163fa0ec8 disable/enable CFG button based on compiler support 2017-09-17 17:42:54 +01:00
cppchedy 212d605ff7 deledted all const and let key words and replaced for of with _.each 2017-09-16 22:47:50 +01:00
cppchedy de8a12dbec make generation only if gcc 2017-09-16 21:55:38 +01:00
cppchedy 8daeb1cd78 Make Cfg view stay on current functions after a change of compiler 2017-09-16 21:08:25 +01:00
cppchedy f24150439d use demangled functions in ouput 2017-09-16 15:39:09 +01:00
cppchedy 49b37c28b8 fixed code separation from data 2017-09-16 14:57:44 +01:00
cppchedy 1cab3b4235 fixed error: compilation error not showing 2017-09-16 04:44:35 +01:00
cppchedy 39f7494a06 added initial support for visualizing Cfg of multiples functions 2017-09-16 03:19:40 +01:00
cppchedy 8d5b6799ba fixed Cfg bug, make improvement to UI 2017-09-16 00:44:51 +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