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