aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/clang.ts
Commit message (Collapse)AuthorAge
* Suggestion to update llvm-cxxfilt logic (#6451)gh-11685Ofek2024-05-08
| | | | | | | | | | | | (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.
* eslint root setting and fixes (#6307)gh-11409Patrick Quist2024-04-16
|
* Handle the case where clang had no buildenvsetup. Closes #6303 (#6305)gh-11158Matt Godbolt2024-03-30
|
* For clang cross-compiles with libc++, explicitly add `-I../include/x86_64… ↵gh-11085Ofek2024-03-25
| | | | (#6277)
* Allow overriding clang demangler from properties (#6228)gh-10989Ofek2024-03-16
| | | | | Specifically bpf uses group.bpf.demangler (gcc demangler) This fix continues #6114.
* Replace the deprecated `substr` with `substring` (#6236)gh-10941Ofek2024-03-10
| | | Just some minor homekeeping.
* Specify llvm-cxxfilt as the demangler for clang *groups* (#6114)gh-10801Ofek2024-02-27
| | | | | | | This does contain a single `.default.properties` file, but it already contained an `/opt/compiler-explorer` reference. @partouf maybe that would solve the mangling issue for clang-17 + libc++ ?
* Change getCompilerResultLanguageId prototype (#6148)gh-10765Marc Poulhiès2024-02-24
|
* Clang time trace support in execution pane (#6139)gh-10642Patrick Quist2024-02-14
|
* oneapi 2024.0.0 release (#5867)gh-9884Robert Cohn2023-12-10
| | | | | | | * directory structure has changed * no more releases of icc Depends on deployment of https://github.com/compiler-explorer/infra/pull/1188
* Fix #5255 (#5700)gh-9387Ofek2023-11-04
|
* Introduce ClangDxcCompiler for HLSL (#5388)gh-8684Justin Bogner2023-09-04
|
* Also specify MSAN_SYMBOLIZER_PATH for clang (#5424)gh-8607Jeremy Rifkin2023-08-27
|
* New Compiler: Hexagon-clang (#5330)gh-8367quic-rvarghes2023-08-07
| | | | | | | | | | | | | | | | **Related to:** compiler-explorer/infra#1061 **Goal:-** To enable back-end support for hexagon clang compiler so that it can be used on the Compiler Explorer's website ([https://godbolt.org/.](https://godbolt.org/)) This will be particularly useful to people working on Hexagon Digital Signal Processor (DSP) developed by Qualcomm Technologies. **Information about Hexagon DSP:-** [https://developer.qualcomm.com/software/hexagon-dsp-sdk/dsp-processor](https://developer.qualcomm.com/software/hexagon-dsp-sdk/dsp-processor) Co-authored-by: Ryan Sam Varghese <rvarghes@qti.qualcomm.com>
* Improve the type of ExecutionOptions.env (#5206)gh-8009Jeremy Rifkin2023-06-28
|
* Support control flow graphs for more compilers (#5209)gh-8008Jeremy Rifkin2023-06-28
| | | | | This PR should make cfg generation available for all clang compilers, icc, and any compiler whose instructionSet property is x86, arm, or llvm.
* Fix #5183gh-7914Matt Godbolt2023-06-19
|
* Quickfix for #5111gh-7697Jeremy2023-06-11
|
* Identify unused imports during lint (#5130)Jeremy Rifkin2023-06-11
|
* add support to query and parse c standard versions (#5082)gh-7518Patrick Quist2023-05-30
| | | Fixes #5071
* Compiler overrides (#5001)gh-7408Patrick Quist2023-05-16
|
* Offer timetrace json to view somewhere (#4967)gh-7162Patrick Quist2023-04-23
|
* Support configuring extra arguments for the demangler, objdumper and ↵gh-6987zebrapurring2023-04-01
| | | | | | | | | | | | | | execution wrapper (#4883) Some toolchains require passing non-standard, mandatory arguments to the CLI tools in order to execute them (configuring licenses, selecting CPU targets, etc.). This PR allows configuring extra command-line arguments for the demangler, object dumper and the execution wrapper. The version flag argument has been refactored into an array, so that more than one argument can be passed, if necessary. The changes are fully backwards compatible. Co-authored-by: zebrapurring <>
* add properties and test for cewrapper (#4761)gh-6911Patrick Quist2023-03-18
|
* Transition to ECMAScript Modules (#4780)gh-6536Mats Jun Larsen2023-02-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Makes the Compiler Explorer app, and all the tooling ESM compatible. Things that have been done: 1. The package.json has `type: module` now 2. All relative imports have a .js ending 3. All directory imports are now directory/index.js to comply with ESM standards 4. Dependency node-graceful is now imported into tree, because the package is broken under esm 5. Dependency p-queue has been bumped to 7.x with ESM support 6. Dependency profanities has been bumped to 3.x with ESM support 7. Webpack config is now both ESM and CommonJS compatible 8. Non-ESM compatible imports have been rewritten 9. ESLint configuration has been tweaked to not fail on .js imports 10. Mocha is now hacked together and ran with ts-node-esm 11. Webpack is now hacked together and ran with ts-node-esm 12. Webpack config is now ESM compatible, so that it can be used in the dev server 13. Cypress code still runs commonjs, and has been excluded from the tsconfig 14. All sinon mock tests have been commented out, because sinon module mocks do not work with ESModules (because ESModules are immutable) A lot of tests are now giving warnings/errors to stdout, yet still pass. Docenizer codegenerator scripts have been updated, but I did not re-run them, and instead just changed their code. --------- Co-authored-by: Matt Godbolt <matt@godbolt.org>
* Fix trailing comma issue (#4775)gh-6504Jeremy Rifkin2023-02-26
| | | | | Make trailing commas more consistent throughout the project, fixes config conflict between eslint and prettier. Resolves an oversight in #4766.
* Turn some auto-fixable eslint rules back on (#4766)gh-6434Jeremy Rifkin2023-02-23
| | | | | | This PR turns comma-dangle and indent eslint rules on for lib/. These are rules inherited from the eslint config for static/, this PR just makes things more consistent. Also turned @typescript-eslint/no-var-requires back on while I was here.
* Type work for some handlers and stuff related to the compiler-finder (#4752)gh-6407Jeremy Rifkin2023-02-22
|
* Tsify lib/compilers (#4609)gh-6026Jeremy Rifkin2023-01-29
|
* Slightly more controversial bumpings (#4503)gh-5552Matt Godbolt2022-12-28
| | | | | | | | | - latest sentry, tar-stream, which, some yamljs versions - latest eslint-* stuff - latest webpack manifest - Applies all the automatic fixes for newer lint rules - Bump the webpack version applies new tslint stuff
* Mg/props ts (#4340)gh-5089Jeremy Rifkin2022-11-26
| | | | | | | | | | | | | | | * WIP * Type changes to the property getter * Finish getting types working for properties.ts * Reduce type casts in exec.ts * Format files * Remove old comment Co-authored-by: Matt Godbolt <matt@godbolt.org>
* asm-mode: better tokenization for spirv (#4024)gh-4447Romaric Jodin2022-10-10
|
* Unbundle and disassemble device code (#4019)gh-4125Patrick Quist2022-09-03
|
* typescriptify clang.js (#4018)gh-4096Patrick Quist2022-09-03