有人用 nvcc --relocatable-device-code=true or AMD HIP -fgpu-rdc吗?whole-program compilation or separate compilation (LTO or non-LTO)?
@HaskRay
Maintainer of LLVM MC, Clang driver, lld/ELF, and libunwind
- Agents excel at the mechanical labor of rebasing. "We can't afford a fork, so we must upstream", the strongest argument for upstreaming, is losing force. Companies should be happier staying downstream. I suspect the exact opposite: the same tools pushed "write an RFC + patch" ...
- Since 2020 I've been the de facto reviewer for object file format stuff/MC/ELF linker in LLVM. Until I left Google in 2024, it counted as a line item on my "community contribution". Since then it has come out of my own evenings.
- 当初的汇编器NaCl bundle alignment实现很差,较明显地影响了clang -O0性能。Google找到了弄回它的理由Software Fault Isolation and (wasm is slow...)。 似乎Firefox对此也有兴趣,不然的话这可能会是又一个单一用户、对MC和AArch64/X86后端有巨大侵入式改动的功能。
- Every time I modify bolt/ (because I often refactor MC/ADT/Support and BOLT uses them in... weird ways), CODEOWNERS automatically adds 7 reviewers. You'd think: "Wow, BOLT actually has so many maintainers!" In reality, only one person ever approves (used to be 2).

