2685 Commits
Author SHA1 Message Date
Ofek e19d6ef24b Fix #5762, along with another cmake warning (#5766) 2023-11-18 17:19:00 +01:00
Patrick Quist a08f230688 rw access to windows /dev/null equivalent 2023-11-18 03:50:25 +01:00
Marc Poulhiès 8182463d76 Rust 1.74.0 (#5759)
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2023-11-16 23:33:15 +01:00
Matt Godbolt be72e68a50 Update the sponsors 2023-11-13 20:04:49 -06:00
Matt Godbolt f727f9ddb1 new sponsors! thanks 2023-11-12 14:26:31 -06:00
George Barnett 3ab312ff35 Add Swift 5.9 release and Swift 5.10 nightly (#5724)
See also: https://github.com/compiler-explorer/infra/pull/1143
2023-11-12 14:24:47 -06:00
Mauro Baladés 0ac5f15d14 Updated snowball to version 8 (#5730) 2023-11-12 14:24:10 -06:00
David Spickett e15619abfe Add llvm-dwarfdump tool for C/C++ languages (#5726)
https://llvm.org/docs/CommandGuide/llvm-dwarfdump.html

This dumps the DWARF debugging information in a human readable form:
```
<source>: file format ELF64-x86-64

.debug_info contents:
0x00000000: Compile Unit: length = 0x00000063 version = 0x0004 abbr_offset = ... 

0x0000000b: DW_TAG_compile_unit
              DW_AT_producer  ("GNU C17 9.4.0 ...)
```

This tool would be useful to have when comparing the debug output of two
compiler versions or compiler targets. For instance I wanted to find out
recently how AArch64 and X86 targets represent TLS variables.

The tool runs on the compiled binary, so is post compilation. If the
binary
has no debug information the tool does not crash, it just tells you that
there is no information.

To fit the other llvm/clang tools, I've just added an "llvm-dwarfdump
(trunk)"
like llvm-mca has done. Added it to c/c++/objc/objc++ (open CL can't
compile
to binary so skipped those). MSVC is excluded because it produces PDB
files
instead.

The tool works for at least ELF and XCOFF files, I haven't been able to
test
any others.
2023-11-12 14:21:52 -06:00
Ofek 3ca11cd811 No 'forbidden switches' (#5736)
~0.5Y ago I tried to raise a local CE instance to experiment with an
in-house clang plugin. This eventually succeeded but only after much
grief and eventually an [advice from
partouf](https://discord.com/channels/763778740345765900/764131312117743656/1108408691746680842).

The conjecture raised at that Discord thread was that the
`optionsForbiddenRe` property was devised circa 2015 to block plugin
usage (and others) as these were considered an attack surface. If that
is the case - this is no longer true since using nsjail.
2023-11-12 14:18:29 -06:00
Matt Godbolt 3aa044a5c1 Welcome back Intel!
This reverts commit 5c8a1dfaa5.
2023-11-11 17:27:02 -06:00
Patrick Quist d8d6b760a9 Update build-dist-win.ps1 2023-11-11 16:15:29 +01:00
Patrick Quist 4200088959 Update build-dist-win.ps1 2023-11-11 16:10:53 +01:00
Patrick Quist 455d92916a Execution with heaptrack (#5644) 2023-11-07 23:59:40 +01:00
Björn FahllerandBjörn Fahller 40c996a2f7 Added Trompeloeil v46 (#5722)
Co-authored-by: Björn Fahller <bjorn.fahller@netinsight.net>
2023-11-07 08:22:26 -06:00
Phil @ RISC-V Embedded Blog "Five Embeddev fcb8513f7f RISCV64 assembly opcode documentation - update (#5598) 2023-11-07 14:52:43 +01:00
Matt Godbolt 95533d55b8 new sponsors! thanks 2023-11-06 21:28:08 -06:00
Matt Godbolt 5c8a1dfaa5 Thank you for your generous support over the years, Intel. Hopefully you'll be back! 2023-11-06 20:58:12 -06:00
Goooler c934665693 Kotlin 1.9.10 & 1.9.20 (#5692)
https://github.com/JetBrains/kotlin/releases/tag/v1.9.10
https://github.com/JetBrains/kotlin/releases/tag/v1.9.20
2023-11-06 20:21:01 -06:00
Justin Bogner b23c01e8cc Support the opt pipeline view in dxc for HLSL (#5704) 2023-11-04 20:55:39 +01:00
Ville Voutilainen c9e1fbf4d2 Add contracts-nonattr (#5705) 2023-11-04 20:53:14 +01:00
Adam M f4e33a6b90 Add Nim version 1.6.16 and 2.0.0, use newer gcc (#5702)
Related https://github.com/compiler-explorer/infra/pull/1138
2023-11-02 22:30:22 -04:00
Sjoerd Meijer 51caa9c276 Support LLVM-MCA for armv8-a clang (#5662)
LLVM-MCA is supported for X86-64 clang compilers, but not for armv8-a
clang. This enables LLVM-MCA support for AArch64 because it is supported
for many AArch64 cores.

Fixes request #5649.
2023-10-30 20:44:50 -05:00
David Spickett 91ec8f09fa LLVM TableGen: Add trunk compiler and default include path (#5652)
Since trunk will be a moving target, I've left the default compiler as
17.01.

The standard include path will allow for examples that include files
like `include "llvm/TableGen/SearchableTable.td"`, without extra
options. This is useful if you want to create a minimal example of the
records that an existing backend expects to see.
2023-10-30 20:44:14 -05:00
Daniel Hodges c76a3b02ca Fix libbpf includes (#5647)
This change fixes the include paths for libbpf.

Tested on a local install. I think in the original PR I had libbpf
headers on the system and were being picked up.

![2023-10-24-20:15:31](https://github.com/compiler-explorer/compiler-explorer/assets/2632746/b541cd85-087b-4187-b363-b0a4ca499769)

The same code fails in the current version:
```
// Type your code here, or load an example.
#include <lib/libbpf.h>

int square(int num) {
    return libbpf_major_version();
}
```
Error:
```
<source>:2:10: fatal error: 'lib/libbpf.h' file not found
#include <lib/libbpf.h>
         ^~~~~~~~~~~~~~
1 error generated.
ASM generation compiler returned: 1
<source>:2:10: fatal error: 'lib/libbpf.h' file not found
#include <lib/libbpf.h>
         ^~~~~~~~~~~~~~
1 error generated.
Execution build compiler returned: 1
```

Signed-off-by: Daniel Hodges <hodges.daniel.scott@gmail.com>
2023-10-30 20:43:58 -05:00
Travis Downs 19e7c3005c Add seastar trunk and 2211 versions to CE (#5671)
The existing seastar version 1808 is more than five years old and lots
of exciting changes have occurred since then. This patch adds seastar
2211 from last last year as well as trunk.

The 2211 version of seastar requires PR compiler-explorer/infra#1134 to
be accepted first to add it on the infra side.

`make check` passes.
2023-10-30 20:43:34 -05:00
David Spickett 123c7bce0c Sort Armv8 all architectural features clang below trunk version (#5675)
Fixes #5641

The "all architectural features" compiler is trunk, plus a whole bunch
of `-march` flags to enable the kitchen sink for AArch64. Which is
useful for some, but as pointed out in the issue, not representative of
what the average clang on the average system will produce. So plain
trunk is a better first entry for this category.

To fix this, I've changed the semver value so that we will have this
order:
```
(trunk)
(all architectural features, trunk)
17.0.1
<more versions...>
```

`(trunk)` is not treated as a valid semver so it's sorted by the string
value. So the shorter `(trunk)` was shown before the longer `(trunk,
all...`.

This is why the other special compiler versions sort as they do, because
they are `(` then something < `t` (and I didn't find any special
workarounds either).

Putting `trunk` at the end fixes this issue and will not break existing
URLs since the name of the compiler settings file entry (e.g.
`armv8-full-clang-trunk` for C++) has not changed.
2023-10-30 14:54:15 +01:00
Matt Godbolt c0f6864dcd New patrons; thank you! 2023-10-28 09:34:11 -05:00
Alexey Shekhirin 3806ba1f72 Add Solidity 0.8.21 (#5640)
Ref https://github.com/compiler-explorer/infra/pull/1130
2023-10-23 20:01:35 -05:00
David Spickett 5f3db78dce Add the LLVM TableGen language (#5629)
LLVM TableGen is used to generate complex output files in the llvm
project. A generic description of classes and definitions produces
"records" that can then be walked by a TableGen backend to produce
things like C++ code, configuration files, etc.

The biggest examples are LLVM's assembler and disassembler where all the
targets' instructions are defined in TableGen.

https://llvm.org/docs/TableGen/ProgRef.html

An example:
```
class Register<int _size, string _alias=""> {
    int size = _size;
    string alias = _alias;
}
def X0: Register<8> {}
def X29: Register<8, "frame pointer"> {}
```
```
------------- Classes -----------------
class Register<int Register:_size = ?, string Register:_alias = ""> {
  int size = Register:_size;
  string alias = Register:_alias;
}
------------- Defs -----------------
def X0 {        // Register
  int size = 8;
  string alias = "";
}
def X29 {       // Register
  int size = 8;
  string alias = "frame pointer";
}
```

It's often a pain point for people new to LLVM so having a quick way to
experiment would be a great benefit for the community (we have a Jupyter
kernel which is good but not as simple as Compiler Explorer).

The compiler for TableGen is `llvm-tblgen`. This comes with most release
builds of LLVM in /bin along with clang and the others. Its default is
to output a text dump of the records defined so that's what I've used
here. This is not executable code so I've disabled the features related
to that.

A user could pass options to `llvm-tblgen` to produce text in a format
other than this, C++ code or JSON for example. However this text dump is
the main use case.

I've re-used an existing clang install, since that includes
`llvm-tblgen` in `bin/`. I just added the 17.01 version for this first
change.

Syntax highlighting is a mix of the Fortran and Ada configuration,
following the language spec I linked above. Though I am very new to that
so it is likely incomplete.
2023-10-23 19:59:46 -05:00
jaheikk 7a31a135a0 Add Qt 6.6.0 (#5639)
Add Qt 6.6.0. This is counterpart to
https://github.com/compiler-explorer/infra/pull/1132
2023-10-23 19:50:16 -05:00
Charles Jenkins 99a6c3bbf2 Fix #5604 (#5638) 2023-10-23 03:27:53 +02:00
Charles Jenkins 3da0103502 Add support for RISC-V GNU as (#5604) 2023-10-22 12:20:09 +02:00
Kyle Semelka c4616b3b4f Support latest versions of spdlog (#5588) 2023-10-21 17:46:46 +02:00
Matt GodboltandNick DeMarco 458fa247f8 Hylo fixes; specify PATH, and fix name (#5625)
-  Add a general extraPaths for compilers and use it to let Hylo find clang++

Co-authored-by: Nick DeMarco <nickpdemarco@gmail.com>
2023-10-18 21:59:42 -05:00
Matt Godbolt c115a45ecb Final fixups to get Hylo execution and binary working 2023-10-18 15:54:55 -05:00
nickpdemarco 4fd7f325f4 merge main 2023-10-18 16:36:52 -04:00
narpfel 112d326905 Use verbose version flag to get rustc version (#5616)
`rustc` by default only gives a short version output like this
```console
$ rustc --version
rustc 1.75.0-nightly (42b1224e9 2023-10-15)
```

There is, however, a more verbose version info that also includes the
LLVM version used:
```console
$ rustc --version --verbose
rustc 1.75.0-nightly (42b1224e9 2023-10-15)
binary: rustc
commit-hash: 42b1224e9eb37177f608d3f6a6f2be2ee13902e4
commit-date: 2023-10-15
host: x86_64-unknown-linux-gnu
release: 1.75.0-nightly
LLVM version: 17.0.2
```

This is useful information, so it should be accessible.

---

I’d normally have used `--version --verbose`, but it seems that the
`versionFlag` property is passed as one single argument to `rustc` and
not split on spaces, so I used the short form `-vV` instead.
2023-10-18 14:03:44 -05:00
Matt Godbolt fcd0b0b40a Fix for hylo 2023-10-18 14:01:58 -05:00
Parker Lougheed 871a9aec23 Surface Dart 2.19, 3.0, and 3.1 releases (#5602)
Dependent on https://github.com/compiler-explorer/infra/pull/1122.
2023-10-18 13:17:37 -05:00
nickpdemarco 87037fb6b0 Use objdump 13.2.0 per @mattgodbolt 2023-10-18 13:31:10 -04:00
Nick DeMarco 58ee2354be Add Hylo support (#5622)
This PR adds front end support for the
[Hylo](https://www.hylo-lang.org/) programming language. Back end
support has already been added with
https://github.com/compiler-explorer/misc-builder/pull/71 and
https://github.com/compiler-explorer/misc-builder/pull/72.
2023-10-18 12:07:38 -05:00
nickpdemarco 85a4b3599b Properties files for hosting hylo 2023-10-18 10:24:58 -04:00
Patrick Quist 4481bd0f3a Show up to date version for trunk compilers (#5571) 2023-10-15 15:56:43 +02:00
Quinton Miller 299ff3bc06 Add Crystal 1.10.1 (#5589) 2023-10-14 18:16:45 -05:00
Matt Godbolt fa78451b4d Enable EDG default mode (CC @DarkArc) 2023-10-14 17:33:56 -05:00
Mosè Giordano 8009a19a9f Add Julia v1.9.3 (#5596)
Companion to https://github.com/compiler-explorer/infra/pull/1118. I
tried to look to other similar PRs to update other toolchains, I hope
I'm doing it right.
2023-10-14 03:25:01 +02:00
nickpdemarco 4ee6cda52f rename val to hylo 2023-10-11 15:01:45 -04:00
nickpdemarco 9cda199e40 Merge main, resolve conflicts with vala 2023-10-11 14:43:05 -04:00
Jeremy Rifkin c929679e43 Add libassert 0.2.1 (#5586) 2023-10-10 12:19:45 -04:00
Aaryaman Vasishta 07acd2ff91 Add ROCm 5.7.0 (#5569)
Depends on:
https://github.com/compiler-explorer/infra/pull/1112
https://github.com/compiler-explorer/misc-builder/pull/69

This is pretty much the same PR format as
https://github.com/compiler-explorer/compiler-explorer/pull/4215
2023-10-09 20:04:05 -05:00