This adds a link in the Videos section of the README to the talk "Just
Enough Assembly for Compiler Explorer" which I gave at CppCon 2021.
(As mentioned on Twitter
https://twitter.com/knatten/status/1472937932814172160)
Both gimple and original dumps are missing because CE currently only checks for
dumps coming from a pass advertised in -fdump-passes.
Fix this by faking 2 lines as coming from -fdump-passes.
fixes#3180
This is a fixed version of c8b25ee53b (#3183)
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Both gimple and original dumps are missing because CE currently only checks for
dumps coming from a pass advertised in -fdump-passes.
Fix this by faking 2 lines as coming from -fdump-passes.
fixes#3180
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
* Fix source/assembly mapping when GNAT expanded code pane opened
Using -gnatDGL to get the expanded code also asks GNAT to emit debug
informations pointing to the .dg file containing the expanded code, breaking CE
that is using these info to map assembly and source lines. Using -gnatGL instead
avoids the breaking of asm/source mapping but emits the expanded code in stdout
instead of a plain file.
This change replaces -gnatDGL by -gnatGL and extracts the expanded code from
stdout.
fixes#3171
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
* fixup! Fix source/assembly mapping when GNAT expanded code pane opened
* Rename static/libs-widget-ext.js to static/libs-widget-ext.ts
* Initial Typescript copy&paste
* File now compiles its TS
* First TSfy pass
Types need to still be sorted out, but this now compiles and works
:)
* Further work towards porting libs widget to TS
* Expand the scope of the PR and fix some TS issues elsewhere
Still releated to libs though
* Renames
* Address PR review
* Fixes some minor errors and finishes the tests
* Remove unused interface properties
As suggested by partouf in the PR
* Remove unused this
Noticed by Partouf in the PR review
* Remove more unused options interface properties
* Fixes last issues with the ts libs widget
* Remove console.log