Compile commands| clangd.llvm.org
Hi! I am looking for a little input. The context is that I am trying to reduce the size of our arm64 (elf) executable. We can’t afford to lower the optimisation level due to performance targets, but we already do the following to keep exe sizes down: visibility=hidden We use a PGO profile ThinLTO data/function sections and gc-sections We don’t use RTTI/exceptions Enabled ICF in lld Is there something I am missing? I have searched through the forums and there has been talk about a machine ...| LLVM Discussion Forums
The Best Practices for OSS Developers working group is dedicated to raising awareness and education of secure code best practices for open source developers.| OpenSSF Best Practices Working Group
This article describes how to transpile Objective-C to C++, and use that approach to gain understanding of the Objective-C runtime| Juan Cruz Viotti
The other day I read a two-parter blog post by Owen Shepherd,| blog.xoria.org
TL;DR Determinism plays an important role in the ability to cache output of compilation. Distributed caching and compilation enable quick iteration on large scale software. Computation of distributed cache keys is non-trivial as not all inputs are explicit. A suitable distributed cache fill strategy is required for consistently fast local builds. Deterministic Builds Deterministic builds can be defined as: A build is called deterministic or reproducible if running it twice produces exactly th...| milen.me
Occasionally, compiling the Linux kernel with a new compiler flag will result in a boot failure. If you are lucky, there will be some output to the serial console but that may not happen if the issue happens in early boot code before the serial driver has loaded. When this happens, it usually requires building part of the kernel without the compiler flag (or the “negative” version of it) to try and figure out the exact translation unit and function that causes the problem.| nathanchance.dev
`zig cc`: a Powerful Drop-In Replacement for GCC/Clang| andrewkelley.me