[llvm] [NFC][MemProf] Move types shared between Analysis, ProfileData and ModuleSummary (Core) to a separate header (PR #140505)

Snehasish Kumar via llvm-commits llvm-commits at lists.llvm.org
Wed May 21 10:22:07 PDT 2025


snehasish wrote:

> I think the issue is when modules are turned on: -DLLVM_ENABLE_MODULES=ON -DLLVM_ENABLE_PROJECTS="clang;lld;llvm" \
> 
> fatal error: cyclic dependency in module 'LLVM_Object': LLVM_Object -> LLVM_IR -> LLVM_ProfileData -> LLVM_Object
> 
> So the fix doesn't address this.

Thanks, I was able to reproduce this. Taking a look now.

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


More information about the llvm-commits mailing list