In pr #6793, we misconfigured the `target`. This patch addresses and
corrects the problem. Additionally, the GCC toolchain has been updated
to handle the `ld` linker’s mismatch with the latest relocation type.
<!-- 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!
-->
Signed-off-by: Qi HU <github@spcsky.com>
And use it for Android d8 compiler.
It's empty for now. But it lets you filter in the compiler pop out box.
And it may let us attach hover assembly documentation later.
I've left it empty in `lib/instructionsets.ts` like `java` is, which I'm
modelling this off.
Towards #6819
Adding support for mono and NativeAOT.
As for NativeAOT, we have some upstream issues need to be resolved
before we can use `JitDisasmAssemblies` to print disasm for the
specified assembly only, where it would fail with:
```
Unhandled exception: ILCompiler.CodeGenerationFailedException: Code generation failed for method '[S.P.CoreLib]<Module>..cctor()'
---> System.NotImplementedException: getClassModule
at Internal.JitInterface.CorInfoImpl.getClassModule(CORINFO_CLASS_STRUCT_*) + 0x2b
at Internal.JitInterface.CorInfoImpl._getClassModule(IntPtr, IntPtr*, CORINFO_CLASS_STRUCT_*) + 0x39
--- End of inner exception stack trace ---
at Internal.JitInterface.CorInfoImpl.CompileMethodInternal(IMethodNode, MethodIL) + 0x273
at Internal.JitInterface.CorInfoImpl.CompileMethod(MethodCodeNode, MethodIL) + 0x63
at ILCompiler.RyuJitCompilation.CompileSingleMethod(CorInfoImpl, MethodCodeNode) + 0x97
at ILCompiler.RyuJitCompilation.CompileSingleThreaded(List`1) + 0xee
at ILCompiler.RyuJitCompilation.ComputeDependencyNodeDependencies(List`1) + 0x173
at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.ComputeMarkedNodes() + 0x159
at ILCompiler.RyuJitCompilation.CompileInternal(String, ObjectDumper) + 0x26
at ILCompiler.Compilation.ILCompiler.ICompilation.Compile(String, ObjectDumper) + 0x5d
at ILCompiler.Program.Run() + 0x2a55
at ILCompiler.ILCompilerRootCommand.<>c__DisplayClass240_0.<.ctor>b__0(ParseResult) + 0x321
at System.CommandLine.Invocation.InvocationPipeline.Invoke(ParseResult) + 0x6f
```
For now, workaround with removing `JitDisasmAssemblies` and print disasm
for all assemblies instead. (see the second commit)
/cc: @MichalStrehovsky We need to implement `getClassModule`,
`getModuleAssembly` and `getAssemblyName` in ilc to make
`JitDisasmAssemblies` work correctly.
Closes#5668
Infra PR: https://github.com/compiler-explorer/infra/pull/1388
This PR introduces Quill, a low-latency logging library, to Compiler
Explorer. As this is my first contribution, please let me know if
there's anything that needs adjustment. Thank you!
This allows running compilers that use these, for example ones that link
in TCMalloc. I'm just implementing the suggestion in #6734, it seems
reasonable and targeted. Hoping a PR lets a fix move forward here.
I've left this as mandatory given that `/proc` is mandatory. This might
still have an issue on more unusual Linux images, but I suspect not.
Not sure how to test this, wasn't clear how to just check the contents
of a file in the jail from the test suite examples I looked at. That
said, if you can point me to some example for how to do it, happy to add
one.
Fixes#6734
<!-- 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!
-->
This updates C3 with 0.5.5/0.6.0/0.6.1 and removes some long gone
keywords. This also renames "0.4 -> 0.4.0" and "0.5 -> 0.5.0". The new
versions are in the infra pull request here:
https://github.com/compiler-explorer/infra/pull/1374