2155 Commits
Author SHA1 Message Date
quic-rvarghesandRyan Sam Varghese ab1d965289 New Compiler: Hexagon-clang (#5330)
**Related to:** compiler-explorer/infra#1061

**Goal:-**
To enable back-end support for hexagon clang compiler so that it can be
used on the Compiler Explorer's website
([https://godbolt.org/.](https://godbolt.org/)) This will be
particularly useful to people working on Hexagon Digital Signal
Processor (DSP) developed by Qualcomm Technologies.

**Information about Hexagon DSP:-**

[https://developer.qualcomm.com/software/hexagon-dsp-sdk/dsp-processor](https://developer.qualcomm.com/software/hexagon-dsp-sdk/dsp-processor)

Co-authored-by: Ryan Sam Varghese <rvarghes@qti.qualcomm.com>
2023-08-07 18:33:45 -05:00
Goooler 2b52073f35 Add logo for Carbon-Lang (#5282)
Get the logo from https://github.com/carbon-language
2023-07-25 06:17:56 +02:00
Matt Godbolt 081f585bcc Use a unique temp file (#5275)
We _once_ saw a local file that had an extra `}` at the end and the
vague hypothesis is because it was cached multiple times at once (it was
a shared executable for clang++) then _sometimes_ it was one char longer
than another run, and two runs at the same time wrote to the same temp
file, and the last byte from the "longer run" was left...
2023-07-23 13:39:31 -05:00
Matt Godbolt 782c16e1ca Return null instead of undefined on failure to parse 2023-07-22 18:33:59 -05:00
Patrick Quist 9b983d6965 Load and show creation_date of shortlink (#5236) 2023-07-17 23:36:36 +02:00
Jorge Lopez a90dfab5f5 Add a line break before kill (#5258)
A fix for
https://github.com/compiler-explorer/compiler-explorer/issues/5233
2023-07-15 10:37:01 -05:00
Matt Godbolt 87024e2239 Bump latest deps (#5252) 2023-07-10 21:31:04 -05:00
Mauro Baladés a33dd9de16 Added snowball lang (#5245)
# Language name
Snowball 🐱 

Language version
Snowball v0.0.7-beta

## Language homepage
Soon™️ 

Not the websites but some (WIP) documentation:
https://snowball-lang.gitbook.io/docs/

Compiler homepage

https://github.com/snowball-lang/snowball

Compiler version
v0.0.7-beta

Motivation

With a myriad of features to offer, Snowball boasts object-oriented
programming, memory safety, built-in functions for enhanced
productivity, and faster execution than other languages. Plus, its
garbage collector and unit testing make it a comprehensive tool for
developers.

> It's still in development but it's development is fast
2023-07-10 20:38:55 -05:00
Jeremy Rifkin d6f9536902 Add checks for config problems (#5208)
Fixes #4947. I could not find existing checks, so I added something in
the compiler finder. The implementation is not as elegant as I'd hoped,
but it gets the job done.
2023-07-09 17:36:21 -04:00
Antonio Malara 1feaa088b4 Add LLVMOptPipelineView support for Swift compilers (#5241)
This PR adds support for the LLVM optimisation pipeline view pane for
the Swift family of compilers.
2023-07-09 09:00:22 -05:00
Guo Ci d1bb248206 Fix #1830 (#5201) 2023-07-07 00:24:48 +02:00
Jeremy Rifkin 3c4b22c1eb Quick llvm ir cfg parsing patches (#5234)
Fixes some issues noticed in
https://github.com/compiler-explorer/compiler-explorer/pull/5155#issuecomment-1617709720
- confusing coloring and hyphens not being part of the label regex

CC @OfekShilon
2023-07-06 08:09:27 -04:00
partouf 537e73d937 refactor and bugfix rust crates 2023-07-03 22:41:42 +02:00
Patrick Quist d1b75456ac Library code filter fix (#5204) 2023-07-03 21:32:30 +02:00
Guo Ci 701301642e resolve #4330 (#5196)
#4330
2023-07-03 15:07:26 -04:00
Steve 6e0b25b0e6 Fix the comment test regex for dotnet (#5229) 2023-07-03 18:16:34 +02:00
Steve 271d5ff788 AsmParser update for dotnet (#5227) 2023-07-02 17:43:59 +02:00
Marc Poulhiès 3e204e204f ada: add stack-usage support for GNAT (#5218)
GNAT is gcc based, but its --help doesn't show all of gcc's option and
the base compiler doesn't detect its support for -fstack-usage.

Force the support (currently we only have GNAT as an Ada compiler).

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2023-06-30 00:52:42 +02:00
Jeremy Rifkin 4260313e13 Common utilities and type work (#5200)
This PR refactors some common utilities out of lib/ and into shared/ and
eliminates some use of underscore.js, as well as general type
improvements done along the way.
2023-06-28 20:13:10 -04:00
Jeremy Rifkin ddb4ed8c05 Improve the type of ExecutionOptions.env (#5206) 2023-06-28 08:15:24 -04:00
Jeremy Rifkin 3638f6026c Support control flow graphs for more compilers (#5209)
This PR should make cfg generation available for all clang compilers,
icc, and any compiler whose instructionSet property is x86, arm, or
llvm.
2023-06-28 08:07:33 -04:00
Jeremy Rifkin a9bd0a1f80 Add the movfuscator (#5193)
Resolves #985

Builder: https://github.com/compiler-explorer/misc-builder/pull/65
Infra: https://github.com/compiler-explorer/infra/pull/1041
2023-06-26 20:28:09 -04:00
Patrick Quist 660319505a hotfix libraries (#5205) 2023-06-27 00:42:23 +01:00
Guo Ci f9ce1b35ef resolve #5014 (#5197) 2023-06-25 00:15:20 +02:00
Patrick Quist 40ae2261e0 Headers via conan (#5179) 2023-06-23 12:25:30 +02:00
Patrick Quist 76beb84b2e C64 emulation (#5198) 2023-06-23 12:21:28 +02:00
Jeremy Rifkin 72e6b34d55 Improve pane typing (#5191)
Resolves #4365
2023-06-21 21:40:35 -04:00
Jeremy Rifkin d907f34bdc Fix handling when the opt output is truncated (#5189)
Fixes #2984
2023-06-21 21:26:55 -04:00
Jeremy Rifkin c655af3097 Uncolorize winston when stdout isn't a tty (#5172)
Closes #5139
2023-06-21 15:43:39 -04:00
Jeremy ce69ac76fa Add unreachable as a llvm block terminator 2023-06-21 14:50:53 -04:00
Jeremy 2c60696d3d Add temporary triage for #2986 2023-06-21 10:32:57 -04:00
Matt Godbolt cf89c52f3a Fix #5183 2023-06-19 22:50:58 -05:00
Jeremy Rifkin d047f17d00 Don't try to build and execute if the initial build failed (#5167)
Resolves #4147
2023-06-19 22:15:32 -04:00
Jeremy Rifkin 122a0047e8 Add instruction set info for generating arm control flow graphs (#5158)
Fixes #4410

On top of #5156
2023-06-19 22:13:15 -04:00
aliaegikandRubén Rincón Blanco d07c31f569 New C3 compiler options (#5122)
Regarding the issue discussed in
https://github.com/compiler-explorer/compiler-explorer/pull/5086#issuecomment-1578715708

---------

Co-authored-by: Rubén Rincón Blanco <git@rinconblanco.es>
2023-06-19 20:53:00 -05:00
Jeremy Rifkin 3716cbd446 Support control flow graphs from the IR pane (#5155)
On top of #5154


![image](https://github.com/compiler-explorer/compiler-explorer/assets/51220084/7bf25b5b-8988-42ff-9d8c-233e6d817997)

Additionally, while I was here, added support for multiple control flow
graphs to be opened from one compiler instead of disabling the button
once one is opened. And improved the implementation for how this was
done for the llvm opt pipeline.

And did some type work along the way.
2023-06-19 21:48:20 -04:00
Alex D a34f81241c Added TypeScript Native ver 0.0.35-alpha (#5136)
Added TypeScript Native ver 0.0.35-alpha
2023-06-19 20:26:35 -05:00
Guo Ci 7651874a98 add Stack Usage Viewer (#5160)
For #4834
2023-06-19 20:26:15 -05:00
Jeremy Rifkin c04512109c Fix movabs asm docs bug (#5164)
Fixes #4481
2023-06-18 15:59:59 -04:00
Jeremy Rifkin 1d44b6d2b4 War on @ts-expect-error (#5171)
Following up on #5170, let's just get rid of @ts-expect-error and
@ts-ignore completely in the codebase. (Well almost)
On top of #5170
2023-06-18 15:21:50 -04:00
Jeremy Rifkin 64d68eb0fe Try to capture more details about a bug (#5168)
Adding a little something to capture info on why #2984 happens
2023-06-17 19:42:16 -04:00
Jeremy Rifkin 42ea9cc128 General work on solidifying the instruction set system (#5156)
Mainly type work
2023-06-17 19:41:26 -04:00
Jeremy Rifkin da064506f3 Filter ansi escape codes in noscript (#5166)
Closes #4149
2023-06-17 18:06:47 -04:00
Jeremy Rifkin 59a53d5419 LLVM IR control flow graphs (#5154)
![image](https://github.com/compiler-explorer/compiler-explorer/assets/51220084/5a2eb341-4f3e-4175-82a3-7cce513ed0ae)

![image](https://github.com/compiler-explorer/compiler-explorer/assets/51220084/8fe56ced-338a-4c40-bd54-bff5725d9cf5)

Closes #4658
2023-06-17 10:55:24 -04:00
Jeremy Rifkin 4814293ee1 Some quick llvm ir fixes (#5153)
Fixes three issues
- Newlines at start of an ir dump
- Annotations like `!llvm.loop !21`
- Demangling not working
2023-06-17 10:52:51 -04:00
Marc Poulhiès 9147d0b0b4 Some ISA cleanup
Initially wanted to simply add 'vax' in the compiler picker, but ended
up trying to cleanup a bit how ISA property is set.

For gcc compilers, I've tried to rely on the executable name matching
mechanism instead of having the property set all around in .properties
files.

Some more cleanup can be done...

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2023-06-14 18:54:26 +02:00
Jeremy f8d95a33ec Quickfix for #5111 2023-06-11 21:33:01 -04:00
Jeremy Rifkin 60ce06b02f Improve cache handling on the frontend, cache executions on the backend, and improve controls on the exec pane (#5111) 2023-06-11 19:10:30 -04:00
Jeremy Rifkin 910d69f233 Turn on @typescript-eslint/await-thenable (#5131) 2023-06-11 18:09:35 -04:00
Jeremy Rifkin 74e177dd0b Fix ordering in the compiler picker popup (#5132)
No more of this nonsense, long overdue fix

![image](https://github.com/compiler-explorer/compiler-explorer/assets/51220084/bf55a8bb-63a9-47dc-802e-d24df465d422)
2023-06-11 18:00:12 -04:00