2099 Commits
Author SHA1 Message Date
Matt Godbolt 3b75a229c8 Bump to latest LRUCache; use the correct import now the old way is deprecated (#5116) 2023-06-06 21:32:03 -05:00
Matt Godbolt 4187390952 Update eslint et al (#5115) 2023-06-06 21:17:25 -05:00
Matt Godbolt 786a284b6a Fix formatting 2023-06-06 21:16:53 -05:00
Matt Godbolt d4f98a1abe Bump all deps (#5114)
- npm update
- bump the webpack version as usually that needs it
- re-run eslint
- re-run format
2023-06-06 21:13:30 -05:00
sameeranjoshiandJeremy Rifkin db07dd2095 Update mlir.ts for issue #5902 (#5102)
Fix for 
https://github.com/compiler-explorer/compiler-explorer/issues/5092

---------

Co-authored-by: Jeremy Rifkin <51220084+jeremy-rifkin@users.noreply.github.com>
2023-06-06 21:13:30 -05:00
Matt Godbolt 0564061aa6 Keep track of compiler and exec queue time (#5112) 2023-06-06 21:13:30 -05:00
Patrick Quist 7588391db2 bugfix c vs c++ argparsing (#5106)
Fixes #5101
2023-06-06 21:13:29 -05:00
Patrick Quist 4a31620819 bugfix asm arg overrides can be undefined (#5107)
Fixes #5093
2023-06-06 21:13:29 -05:00
Patrick Quist 13712bce4b Fix cobol binary modes and objdump (#5110)
Fixes #4857
2023-06-06 21:13:29 -05:00
Patrick Quist 29e681f2a6 no warning about paths if library version is autodetect (#5108)
Fixes #5053
2023-06-06 21:13:29 -05:00
Patrick Quist 49806d62c8 fix intel notation for cobol (#5109) 2023-06-06 21:13:29 -05:00
Matt Godbolt 8e4827a7f4 Whitespace fix 2023-06-06 21:13:29 -05:00
Jeremy d497f8de40 Fix docenizer makefile and committing changes from regenerating the docs 2023-06-06 21:13:29 -05:00
aliaegikandRubén Rincón Blanco 2703d67b7c New Language: C3 (#5086)
Related to: https://github.com/compiler-explorer/infra/pull/1017

C3 is a system programming language based on C. It is an evolution of C
enabling the same paradigms and retaining the same syntax as far as
possible.

Design Principles:
Procedural "get things done"-type of language.
Try to stay close to C - only change what's really necessary.
C ABI compatibility and excellent C integration.
Learning C3 should be easy for a C programmer.
Data is inert.
Avoid "big ideas" & the "more is better" fallacy.
Introduce some higher level conveniences where the value is great.

You can try it out live on its tutorial website:
https://www.learn-c3.org
Source code: https://github.com/c3lang/c3c

---------

Co-authored-by: Rubén Rincón Blanco <git@rinconblanco.es>
2023-06-06 21:13:29 -05:00
ASDAlexander77 748e66a415 using asSafeVer and cleanups 2023-06-06 20:43:43 +01:00
ASDAlexander77 eb65885ab7 improved version control 2023-06-06 19:43:54 +01:00
ASDAlexander77 7e45fa9f2e double quote fix 2023-06-01 18:57:19 +01:00
ASDAlexander77 93b6b4b96f support for tsc version 33 and above 2023-06-01 17:22:42 +01:00
Patrick Quist 6836e9c4a6 add support to query and parse c standard versions (#5082)
Fixes #5071
2023-05-30 21:19:37 -05:00
Matt Godbolt beec3b51d4 Refactor; rename arm64 to aarch64 2023-05-30 21:06:54 -05:00
Matt Godbolt 1275dca94b Merge branch 'main' into asm-docs/arm32-arm64 2023-05-30 19:38:31 -05:00
Jeremy Rifkin 0364ef87ad Use a discriminated union for the ConfiguredOverride type (#5075)
Closes #5054
2023-05-25 13:10:54 -04:00
Jeremy f8409da979 Add a backend unwrapString 2023-05-23 16:49:22 -04:00
Matt Godbolt 6d367c10d3 Misc discovery and execution cache tweaks (#5073)
- use async file access when looking for llc
- don't use the random customCwd in the cache hash
- don't lookup "log cache accesses" in props every access
- turn on compiler cache access logging in discovery mode
- error on missing wine executable config
- atomically cache on disk file cache
2023-05-22 22:40:09 -05:00
fodinaborandMatt Godbolt e28e67d972 Add new "Debug intrinsics" filter. (#5045)
For now, this removes all `llvm.dbg.*` calls from LLVM IR. This is
useful to keep coloring the line correspondence between source and IR,
while not polluting the IR with the debug intrinsics.

Admittedly, I don't have much of a clue of what's going on here, so I
might be missing obvious adaptions (e.g. can we disable this for all
non-LLVM compilers for now somehow?).
Also, not really a Node.JS testing wizard either... 🤷🏼 

Just wanted this really bad for a workshop that's coming up soon ^^

Only tested with my system's default `clang` for now.

Fixes #5044

---------

Co-authored-by: Matt Godbolt <matt@godbolt.org>
2023-05-22 22:35:01 -05:00
Jeremy Rifkin 3eaa274904 Add nm (#5058)
Changes on top of #5057
2023-05-17 15:24:01 -04:00
Jeremy Rifkin 33c05780c9 Clarify a readelf / pahole error message and add readelf to defaults.properties (#5057) 2023-05-17 15:01:00 -04:00
partouf 3dec060b4c bugfix clang sysroot only when targetting different non-x86 2023-05-16 12:44:03 +02:00
Patrick Quist 079d495757 Compiler overrides (#5001) 2023-05-16 03:53:57 +02:00
Matt Godbolt fe61c870fa A somewhat hacky way of making circle link against clang trunk's libs (#5024) 2023-05-09 22:09:54 +02:00
Fred Tingaud 9ceb1dc6eb Increase size limit for sonar output (#5031) 2023-05-09 19:18:35 +02:00
Serval Martinot-Lagarde b904ddf48a asm-docs: Add arm64 and update arm32 documentations 2023-05-08 11:40:23 +02:00
Jeremy Rifkin d72d2d8c0f Fix clang stdin bug (#4986) 2023-04-23 11:30:50 +02:00
Patrick Quist b262531cdd Offer timetrace json to view somewhere (#4967) 2023-04-23 11:29:52 +02:00
Fred Tingaud 6d27eaac0e Sonar analysis: fix library usage (#4974) 2023-04-19 22:09:57 +02:00
Patrick Quist 1902716432 Also log compiler arguments when cmake build has failed (#4966) 2023-04-19 22:02:04 +02:00
Patrick Quist 78cc0ebd0e solidity dont fail on missing generatedSources (#4968) 2023-04-19 22:01:48 +02:00
Patrick Quist b889cd6bc3 fix golang env vars (#4975) 2023-04-19 22:01:31 +02:00
Patrick Quist a0e42db400 Basic CMake support for CUDA (#4286) 2023-04-18 15:21:17 +02:00
David Hewitt e855352d38 vala: Add an option to set PKG_CONFIG_PATH envvar (#4959)
In conjunction with
https://github.com/compiler-explorer/vala-builder/pull/1, this should
fix #4958

Vala uses `pkg-config` to locate libraries to link with and then passes
the relevant args to `CC`, so in the live environment, we need to
provide the `pkg-config` files for the minimum required libraries in the
compiler prefix, and then use this environment variable to allow
`pkg-config` to locate them.
2023-04-17 19:32:49 -05:00
David Hewitt a7da7e83c4 Add the Vala programming language (#4955)
See https://gitlab.gnome.org/GNOME/vala/ for the language repository.

> Vala is a programming language that aims to bring modern programming
language features to GNOME developers without imposing any additional
runtime requirements and without using a different ABI compared to
applications and libraries written in C.
> 
> `valac`, the Vala compiler, is a self-hosting compiler that translates
Vala source code into C source and header files. It uses the GObject
type system to create classes and interfaces declared in the Vala source
code.
> 
> The syntax of Vala is similar to C#, modified to better fit the
GObject type system.

I've also created https://github.com/davidmhewitt/vala-builder based on
https://github.com/compiler-explorer/python-builder and tested that it
can build tarballs of arbitrary versions of Vala. I'd be happy to
transfer the ownership of this repository, or feel free to clone it into
the `compiler-explorer` org.

However, I'm a little unsure of how to join up the pieces and get this
Docker builder integrated with the `infra` repository. Let me know where
to go next and I'd be happy to open the relevant PRs.
2023-04-10 22:47:49 -05:00
Fred Tingaud 6e0aa5f630 Fix Sonar rule URLs for C (#4949)
Forgot there were some hard-coded parts about the language in the
URLs...
2023-04-10 08:14:16 -05:00
Jeremy Overesch 445eff5649 Add minimal TI-C2000 compiler support (#4625)
This adds the ability to use TI's C2000 compiler with basic directive filtering and assembly code parsing.
2023-04-05 11:24:47 -05:00
Fred Tingaud 477ba96c05 Ft/branch (#4946)
Small fixes for the Sonar analyzer.
* Support the C language
* Fix the argument passing. This one is not really relevant for users but useful for us if we need to debug a crash someday.
2023-04-05 11:09:39 -05:00
Matt Godbolt 28948f55fc Ensure missing split args are treated as [] and not [''] (#4930)
Also means `blah=` will also be `[]` and not `['']`
2023-04-02 19:52:03 -05:00
Matt Godbolt 436d84bdb5 Fix unset versionFlags (#4922)
Closes #4921

```
> a = ("")?.split("|")
[ '' ]
> a = (undefined)?.split("|")
undefined
> a = ("a|b")?.split("|")
[ 'a', 'b' ]
```
2023-04-01 20:38:08 -05:00
Matt Godbolt 54a99f6d51 Upgrade all minor versions; format; bump sonar and css minimizer (#4920) 2023-04-01 20:29:06 -05:00
zebrapurringandzebrapurring 34bbde880c Support configuring extra arguments for the demangler, objdumper and execution wrapper (#4883)
Some toolchains require passing non-standard, mandatory arguments to the
CLI tools in order to execute them (configuring licenses, selecting CPU
targets, etc.). This PR allows configuring extra command-line arguments
for the demangler, object dumper and the execution wrapper. The version
flag argument has been refactored into an array, so that more than one
argument can be passed, if necessary.

The changes are fully backwards compatible.

Co-authored-by: zebrapurring <>
2023-04-01 23:49:22 +02:00
Gaurav Gautam 3c58187cf9 Add d8 for disassembling javascript (#4721)
https://github.com/compiler-explorer/compiler-explorer/issues/264
2023-04-01 16:22:21 -05:00
Patrick Quist a08f6957f4 add option for custom papertrail hostname (#4912) 2023-03-30 23:44:19 +02:00