[llvm] [llvm-profdata] Reintroduce use of InitLLVM (PR #164736)

Tim Creech via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 23 11:19:35 PDT 2025


tcreech-intel wrote:

Hi @Prabhuk: yes, that's completely fine by me.

When you move back to llvm-driver an InitLLVM in llvm-profdata.cpp would be redundant with this one in llvm-driver-template.cpp:

https://github.com/llvm/llvm-project/blob/83f751a001fa57dd8eaa60f08ed420e90170e11d/llvm/cmake/modules/llvm-driver-template.cpp.in#L15-L18

For my purposes I'd just like to ensure that a call to InitLLVM is preserved somewhere to do the expansion. The new test should help.

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


More information about the llvm-commits mailing list