aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers
Commit message (Collapse)AuthorAge
...
* Create GCCRSCompiler class from GCCCompiler (#2632)Marc Poulhiès2021-04-30
| | | Use default GCCCompiler values for GCCRS.
* fix #2623partouf2021-04-30
|
* Add Zig cc as a C compiler (#2434)Rubén Rincón Blanco2021-04-30
| | | | | | | | | | | | | | | | | | | * Add Zig cc as a C compiler This commit is currently untested - I have no way to do it locally (Even though installing Zig is awesomely simple!), so it might be pretty broken Releated issue: #2427 * Move cc to options field This way fstat works * attempt at fixing zigcc * force zig > 0.6 to compile to binary as workaround Co-authored-by: partouf <partouf@gmail.com>
* Re-enable java. Closes #1438Matt Godbolt2021-04-26
|
* Keep go asm in UPPERCASE. See #2620Matt Godbolt2021-04-26
|
* Link into executable for Assembly language (#2581)Patrick Quist2021-04-13
| | | | | | | | | | | | | | | * initial working version * refactor readelf and ld exes to properties * minor mac support thing * refactor to use buildsteps * support timing for buildsteps * bugfix gnuas and better error when we can't link * disable for ARM archs and ptx assemblers
* Fix lintMatt Godbolt2021-04-01
|
* Fix up objdump for pascal (thanks @jrtc27)Matt Godbolt2021-04-01
|
* Support ELF Tool Chain and LLVM objdump (#2538)Jessica Clarke2021-04-01
| | | | | | | | * Remove redundant implementations of objdump function * Add support for ELF Tool Chain and LLVM objdump Only binutils supports --insn-width and LLVM uses --x86-asm-syntax=intel rather than -M intel. The default remains binutils.
* Add CMake API (#2509)Patrick Quist2021-03-22
| | | And multifile support. No UI support.
* Let api compile also detect aliased compilers (#2502)Patrick Quist2021-03-19
| | | | | | | * initial implementation to look for aliases correctly and test * refactoring * lintfix
* allow other nasm inputformat, add readelf to assembly (#2481)Patrick Quist2021-03-11
|
* Time all the things (#2462)Patrick Quist2021-03-11
| | | | | | | | | | | | | | | | | | | | | | | * time executeDirect in ms * measure library download and extract time * time package download * download timings when using execution checkbox * proof of concept timing graph implementation * use vertical bars for graph * add objdump time * add timing for asm parsing * add timing graph to execution pane as well * download timings on execution pane * things
* Attempt at refactoring to better separate ldpaths and libpaths (#2452)Patrick Quist2021-03-05
| | | | | | | | | | | * attempt at refactoring to better separate ldpaths and libpaths * fix doc * fix doc * bugfix win32 libpaths * add ldPath to getVersion query environment
* fix compiler.options splittingPartouf2021-03-04
|
* npm run lint-fixMatt Godbolt2021-01-16
|
* TinyC support (#2365)Patrick Quist2021-01-02
| | | | | | | | | * minimal tinycc support * dont pass -g by default + don't use binary mode on -E * work around for trunk * add tinycc trunk
* Count compilations and executions in promMatt Godbolt2020-12-07
|
* Fixed zig trunk LLVM IR output (#2327)Alexandros Naskos2020-11-13
| | | | | * Fixed zig trunk LLVM IR output * Filter all emit compiler options
* OSACA tool & analysis support (#2280)Julian2020-11-03
| | | | | | | * added rudimentary OSACA tool & analysis support * added osaca to tools. using -trunk * fixed copyright string and added myself to CONTRIBUTORS.md * use OSACA v0.3.10
* Fix golang compiler output when run under firejailAustin Morton2020-11-03
| | | | | | | | | | | | | Due to some environment differences between running under firejail or under no sandbox, the regex used in `extractLogging` does not match any lines because the compiler output already has filenames replaced with `<source>` when run under firejail. When run outside firejail the filenames are not filtered. Additionally, some compiler output was lost due to having a filename of `<autogenerated>`. Fixes #2228
* Use execCompilerCached for GCC argument parserAustin Morton2020-10-16
|
* Add EWARM compiler type and documentation (#2267)JesusKrists2020-10-09
| | | Co-authored-by: Krists Niedritis <kristsn@na.lv>
* Enable debugging info for Nim by default (#2266)Danil Yarantsev2020-10-08
|
* Update Zig to use the new CLI (#2254)Alexandros Naskos2020-10-04
| | | | | * Fixed zig.js for the new self hosted command line interface * Broke up long line into two
* Normalize and enforce license disclaimer headers (#2234)Austin Morton2020-09-27
|
* Reassign copyright to Compiler Explorer Authors (#2233)Matt Godbolt2020-09-26
|
* Transfer copyright to compiler explorer authors (#2232)Patrick Quist2020-09-26
|
* Use ES6 Modules (#2132)Austin Morton2020-09-26
|
* Eliminate all dynamic require statements (#2230)Austin Morton2020-09-25
|
* support library options to be passed on to the compiler (#2215)Patrick Quist2020-09-25
|
* add wasm variants for GO (#2187)Patrick Quist2020-09-06
|
* Add FPC 3.2.0 (#2185)Patrick Quist2020-09-05
| | | | | | | | | | | | | * enable fpc 3.2.0 * change fpc default * way to add nasm to path for fpc * enable intel asm mode through nasm * only override env when we have nasmpath * disable intel checkbox for now, needs some work
* Filter compilers in execution panel (#2181)Patrick Quist2020-09-04
| | | | | | | | | | | | | | | * basic supportsExecute filter * dont mess up existing compiler selections * dont execute if the compiler doesn't support it, do try to build still * disable execute for clang arm compilers * require at least 1 supportsExecute before default adding and selecting anything * gcc 1.27 dont execute * get rid of -Wl,-rpath error message
* [WIP] Golang GO support binary + execution (#2179)Patrick Quist2020-09-04
| | | | | | | * glgo support binary + execution * fix args * disable binary for 1.4.1
* TenDRA support for C (#2138)Patrick Quist2020-08-20
| | | | | | | * tendra support for C * rename so we can later add a cpp version * Update exec.js
* Add ptxas (#2102)Patrick Quist2020-08-07
| | | | | | | | | * add ptxas * forgot to commit these * reuse nvdisasm compatible parsing * lintfixes
* Add new eslint rules (#2121)Rubén Rincón Blanco2020-08-04
| | | | | | | | | | | | | | | | 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>
* bugfix (#2088)Patrick Quist2020-07-17
|
* bugfix fortran errorsPartouf2020-07-14
|
* Wsl fixes (#2012)Simon Hössjer2020-06-20
| | | | | | | | | | | | | * Disable WINE on WSL When Compiler Explorer runs from within WSL, it does not need WINE in order to call Windows executables. * Fix process working directories on WSL This ensures that all working directories, when running the compiler, are WSL compatible. * Add test to check correct working directory on WSL
* Ensure backend options are always generatedRabsRincon2020-06-15
|
* Pass -fsyntax-only when getting GCC options and test that -masm= is really ↵Iain Buclaw2020-06-08
| | | | | | | | | | | | | | | supported (#2001) * Pass -fsyntax-only when getting GCC options Without this, the gcc driver will still attempt to invoke the assembler, even though it is redundant to do so. * Test that -masm= is both available and supported. Targets such as i686-apple-darwin or x86_64-apple-darwin may have -masm=intel present in --target-help, but any use of it will throw: error: ‘-masm=intel’ not supported in this configuration
* Support binary in rust.Matt Godbolt2020-05-28
| | | | Closes #509
* Merge branch 'master' into go-archsRubén Rincón Blanco2020-05-25
|\
| * minimum effort support (#1979)Patrick Quist2020-05-20
| |
| * Ewavr (#1707)Ethan Slattery2020-05-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * basic IAR EWAVR compiler support * basic line number parsing for colored lines * Better Line Number Parsing (line numbers are right aligned) * remove unused imports in compiler object * removed unused lines from asm-parser-ewavr.js since Travis complained about them * Assorted fixes from code review * update processAsm() method to work with new style after rebase * rework EWAVR asm parser. IAR seems to be closer to msvc. * filter section initialize labels as assembler directives * Add documentation for EWAVR
| * enables binary+execution for ADA (#1971)Patrick Quist2020-05-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * enables binary+execution for ADA * generic bandaid for missing executables * -eS commands are not errors * support error annotations * restore original default but add exec example * re-enable rpath * add tools
* | Go: Add additional architecturesKale Blankenship2020-05-19
|/ | | | | Use 'go build' instead of 'go tool compile' to more easily support additional architectures.
* fix broken JavaCompilerJascha Knack2020-04-26
|