2137 Commits
Author SHA1 Message Date
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
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