2126 Commits
Author SHA1 Message Date
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
Jeremy 653e9a6899 Lint fixes 2023-06-11 17:38:38 -04:00
Jeremy Rifkin 34292238c1 Identify unused imports during lint (#5130) 2023-06-11 17:35:59 -04:00
Jeremy Rifkin acdd5ad45c Capture errors in sentry better (#5128)
Fixes #5127 and similar issues.

Rationale: Whenever something that is not an Error object is passed to
Sentry.captureException we get pretty much no useful information in
sentry

![image](https://github.com/compiler-explorer/compiler-explorer/assets/51220084/c7345449-f7a0-46cb-a198-abe0bd80a8b1)
(usually not even a stacktrace)
2023-06-11 17:31:51 -04:00
Jeremy Rifkin 10851a1dda LLVM IR pane improvements (#5078)
This PR will add filtering and other output options to the LLVM IR pane


![image](https://github.com/compiler-explorer/compiler-explorer/assets/51220084/ffc865ea-b3fa-441f-b501-4ec4b68e261f)

![image](https://github.com/compiler-explorer/compiler-explorer/assets/51220084/936be326-b55e-40cd-ba47-22b121c1acfb)


Closes #5062
Related to #5045
2023-06-11 17:00:53 -04:00
Guo Ci 79bba4c1d1 Add PTX and SASS docs (#5129)
For CUDA C++, add PTX and SASS docs.
2023-06-11 17:00:38 -04:00
Guo Ci 757183d712 enable CPU asm docs for CUDA C++ (#5124)
Currently, asm docs are not enabled on the CPU assembly generated by the
CUDA compiler, this PR attempts to fix that.
2023-06-11 11:44:37 -04:00
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