[llvm] [ADT] Use "inline static" to initialize CallbacksHolder (NFC) (PR #160003)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 21 19:12:39 PDT 2025


kazutakahirata wrote:

> Does this affect the number of relocations?

No, I checked on `lib/ExecutionEngine/Orc/CMakeFiles/LLVMOrcJIT.dir/Core.cpp.o`.

The text, data, and bss sizes stay the same although the actual executable magically shrinks by a few hundred bytes.


https://github.com/llvm/llvm-project/pull/160003


More information about the llvm-commits mailing list