(1) Restore explicit specification of
`group.*.demangler=/opt/compiler-explorer/clang-trunk/bin/llvm-cxxfilt`
for all clang compiler groups, except bpf and windows.
(2) Make the ClangCompiler` constructor adjust the path of
`llvm-cxxfilt`, so that a compiler-local version is preferred, if one
exists.
(3) Pass-by update: bump the version of llvmDisassembler from clang-14
to clang-18.1.
Hopefully this addresses all demangling issues known so far.
`c++filt` was taken sometimes from gcc-13.1.0 and sometimes from
gcc-snapshot, I took `llvm-cxxfilt` from just clang-trunk.
This PR is _just for clang C/C++ compilers_. Maybe it's better for some
other (non C/C++) llvm based compilers? Suggestions are welcome.
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.
Since clspv compiler supports C++ for OpenCL add this
compiler mode to the language just the same way as it's
done for OpenCL C.
Note that the use of C++ for OpenCL with clspv at present
requires extra flags: "-cl-std=CLC++" and
"-inline-entry-points".
Fixes#4156
Previously these were all set to use an x86_64 toolchain which clearly
isn't right. This lead to things like uintptr_t being smaller than
void*.
Use the same toolchain and sysroot for the "all architectural features"
as for the rest of the configurations.
This also changes the -target to "gnu" not "android" to match the
new settings.
Move all trunk Arm and AArch64 clangs to GCC 12.2.0 sysroot
This includes trunk, trunk with assertions and trunk with
all architectural features.
A newer sysroot is more likely to have the supporting
features needed for new architectural features in these
trunk builds.
Added clang-13 to OpenCL C and C++ for OpenCL.
Improved compilation speed by using '-fdeclare-opencl-builtins'
on the newer clang versions where applicable.
* Add support for generating SPIR-V assembly from OpenCL C and C++ for OpenCL
* Update cpp_for_opencl.amazon.properties
* Update openclc.amazon.properties
Co-authored-by: Patrick Quist <partouf@gmail.com>