2394 Commits
Author SHA1 Message Date
Patrick Quist ea2e4ba61e Merge branch 'main' into execution-api-test 2024-05-20 21:29:51 +02:00
Ofek 42533d8dbb Stop duplicating hasXXoutput + XXoutput (#6476)
When you need to check if `XXoutput` exists, check it directly.
+some TSification in CompilationResult
2024-05-14 20:11:09 +03:00
Ofek bcb397f56b Add noUnusedLocals to tsconfig + fix the new alerts (#6396)
<!-- THIS COMMENT IS INVISIBLE IN THE FINAL PR, BUT FEEL FREE TO REMOVE
IT
Thanks for taking the time to improve CE. We really appreciate it.
Before opening the PR, please make sure that the tests & linter pass
their checks,
  by running `make check`.
In the best case scenario, you are also adding tests to back up your
changes,
  but don't sweat it if you don't. We can discuss them at a later date.
Feel free to append your name to the CONTRIBUTORS.md file
Thanks again, we really appreciate this!
-->
2024-05-14 18:46:22 +03:00
Ofek 402c5ec890 Mark the go compiler gc as not supporting cfg (#6470)
Following #6439: mark the go compiler `gc` as not supporting cfg.
Also, don't pass argument to `isCfgCompiler` - the base-compiler
implementation uses `this.compiler.instructionSet` anyway.
2024-05-12 02:16:51 +03:00
harishch4 15bcb0ab3d Add Flang frontend driver to Fortran Compilers (#6419) 2024-05-10 20:47:29 +02:00
Mefiresu a71168c6aa Update NDK toolchain finder (#6461) 2024-05-10 20:46:28 +02:00
Ofek 0703fef51b Suggestion to update llvm-cxxfilt logic (#6451)
(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.
2024-05-08 22:49:21 +03:00
kevinjeon-g 9a20419a29 Update customCwd for profman in dex2oat (#6454) 2024-05-08 21:48:45 +02:00
Patrick Quist 39abddc1be Merge branch 'main' into execution-api-test 2024-05-08 20:34:26 +02:00
Ofek c7ce3ca071 Fix exception in case of empty IR (#6450)
This fixes #6449 - I carelessly ignored the case of empty IR output.
Repro link for verification: https://godbolt.org/z/4d46dahqq
2024-05-07 20:49:27 +03:00
Ofek 0fc6a922b1 Fix #6437: Don't try and generate cfg for incomplete (truncated) IR (#6444) 2024-05-06 22:08:31 +03:00
Partouf d9cbf867fb rename 2024-05-04 22:32:38 +02:00
Partouf ade7fad877 should not be needed 2024-05-04 22:27:18 +02:00
Partouf 690e54e981 remove type comments 2024-05-04 22:23:06 +02:00
Partouf a57f1948c7 add copy headers 2024-05-04 22:22:30 +02:00
Partouf 4475a3235e move artifact utils and fix heaptrack for remote exec 2024-05-04 22:10:43 +02:00
Partouf 12eea52277 fix env and ldpath etc 2024-05-04 21:49:56 +02:00
Partouf c81fd56714 add some types 2024-05-04 20:34:29 +02:00
Partouf 67da8c46ca change back unneeded change 2024-05-04 20:31:54 +02:00
Partouf 27f372043a refactor 2024-05-04 20:27:25 +02:00
Partouf 57a553416a move more things 2024-05-04 20:08:26 +02:00
Partouf f826301680 move more things 2024-05-04 19:58:19 +02:00
Partouf 31dc9eb4cd various refactorings and fixes 2024-05-04 11:17:35 +02:00
Partouf e510f3fd83 oops 2024-05-04 09:21:39 +02:00
Partouf 29fadbc126 refactor 2024-05-04 09:21:28 +02:00
Partouf ab72b33334 add more of execution environment through buildresult and runtimetools 2024-05-04 02:16:55 +02:00
Jeremy abe4abd3bf Fix test break introduced inadvertently in #6422 2024-05-02 23:01:33 -05:00
dzaima 3a6a7999b5 Hanfle filtering tail call void @llvm.dbg.* in LLVM IR (#6425)
Fixes #6416. Additionally escapes a dot in another copy of an
`@llvm.dbg` check.

Didn't find any existing tests for IR filtering to update where this
filter applies, but did make sure locally that it does start hiding the
instructions for clang-17 and clang-18.
2024-05-02 18:43:36 -05:00
ramang-unity 4fbc2d496e Fix #6301 (#6422) 2024-05-03 00:12:48 +02:00
Patrick Quist 20d29ae10b Update dex2oat.ts 2024-05-01 03:11:59 +02:00
Patrick Quist 1639d0a29a fix dex2oat profile issue 2024-05-01 03:09:43 +02:00
kevinjeon-g b94781ab48 Add profile support for dex2oat. (#6382)
dex2oat supports profile-guided compilation. In addition to taking dex
code as an input, it can take a profile as another input, to guide the
compilation. The profile determines which methods need to be compiled,
how calls can be inlined, and so on.

Because Compiler Explorer doesn't support multiple input files, the
profile is added as a comment block in the Java/Kotlin source code. A
post-processor extracts the profile from the comment block into a
separate file, in order to input it to dex2oat.
2024-04-29 20:17:24 -05:00
partouf f41228f471 working version 2024-04-28 17:32:51 +02:00
partouf 6ce79d2595 sketch for localexecution class 2024-04-27 21:24:04 +02:00
Patrick Quist 8d3ba37fec Fix duplicated filters in logging (#6399) 2024-04-27 16:57:31 +02:00
Filippo BarbariandRubén Rincón Blanco 9d7ad0452b Removed UseDynamicNumberOfCompilerThreads command-line argument when running on java <11 (#6397)
This fixes #6388.

---------

Co-authored-by: Rubén Rincón Blanco <git@rinconblanco.es>
2024-04-25 21:44:25 +02:00
Ofek f59bad3a7e Opt remarks: replace hover-over-sidebar display with inline text (#6393)
![inlineoptrem](https://github.com/compiler-explorer/compiler-explorer/assets/73080/6c306b3f-2256-4578-b1d3-beaa1494a083)
2024-04-25 12:37:57 +03:00
Matt Godbolt f358067cec Migrate to eslint-plugin-n; as ...-node is deprecated (#6387)
Replaces #6310
2024-04-23 06:45:55 -05:00
Matt Godbolt 1260aff6bf Major bumps (#6385)
- enhanced-ms and fix
- css-loader
- vitest
2024-04-22 21:51:06 -05:00
Matt Godbolt e63f71a1bb More structured logging of compiles (#5105) 2024-04-22 21:25:13 +02:00
partouf 9bc017cc18 fix edition 2024-04-22 20:01:30 +02:00
partouf 1390c26330 revert #6297 - fixes #6376 2024-04-22 19:28:25 +02:00
Patrick Quist adb8bd774a Dynamic instruction set for documentation (#6173) 2024-04-22 18:40:56 +02:00
Patrick Quist 904410b993 Fix #5657 2024-04-20 16:16:34 +02:00
kevinjeon-g ddefce9925 Propagate java/kotlin errors to D8 (#6374) 2024-04-20 15:24:12 +02:00
Patrick Quist b8325cf0c6 eslint root setting and fixes (#6307) 2024-04-16 21:26:53 +02:00
Patrick Quist 43323b7b6c fix part of the windows tests (#6351) 2024-04-15 03:57:24 +02:00
Ofek 1c3b775577 Add simple filters for llvm optimiziation-remarks (#6354)
![optremfilters](https://github.com/compiler-explorer/compiler-explorer/assets/73080/1116998b-de9e-400c-a045-412fd59eb8e3)
2024-04-15 01:05:58 +03:00
Mats Jun 3c15839a77 Use rustfmt from the latest rust release (#6326)
The current Rust formatter on site doesn't support modern rust syntax
like async/await. This is because the formatter in production runs using
Rust 2015. Forcing edition=2018 allows more modern rust code to be
formatted properly.

Rustfmt is also shipped directly as a Rust component now, so we don't
have to install it separately.

For what it's worth, attempting to "Ctrl Shift I" format the code in
this shortlink demonstrates the problem https://godbolt.org/z/aP4669KEW
2024-04-14 12:54:08 +02:00
Jeremy RifkinandPatrick Quist 15271c9090 Fix missed demangles (#6350)
This PR fixes missed demangle cases pointed out in #6348, namely of the
form `mov eax, OFFSET FLAT:_Z...` and `jmp qword ptr [rip + _Z...]`.

Closes #6348.

---------

Co-authored-by: Patrick Quist <partouf@gmail.com>
2024-04-13 13:54:49 -05:00