| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Fix and reapply IR PGO support for Flang (#142892) This PR resubmits the changes from #136098, which was previously reverted due to a build failure during the linking stage: `` undefined reference to llvm::DebugInfoCorrelate' undefined reference to llvm::ProfileCorrelate' ` The root cause was that llvm/lib/Frontend/Driver/CodeGenOptions.cpp references symbols from the Instrumentation component, but the LINK_COMPONENTS in the llvm/lib/Frontend/CMakeLists.txt for LLVMFrontendDriver did not include it. As a result, linking failed in configurations where these components were not transitively linked. ### Fix: This updated patch explicitly adds Instrumentation to LINK_COMPONENTS in the relevant llvm/lib/Frontend/CMakeLists.txt` file to ensure the required symbols are properly resolved. --------- Co-authored-by: ict-ql <168183727+ict-ql@users.noreply.github.com> Co-authored-by: Chyaka <52224511+liliumshade@users.noreply.github.com> Co-authored-by: Tarun Prabhu <tarunprabhu@gmail.com> | 1 年前 | |
Fix and reapply IR PGO support for Flang (#142892) This PR resubmits the changes from #136098, which was previously reverted due to a build failure during the linking stage: `` undefined reference to llvm::DebugInfoCorrelate' undefined reference to llvm::ProfileCorrelate' ` The root cause was that llvm/lib/Frontend/Driver/CodeGenOptions.cpp references symbols from the Instrumentation component, but the LINK_COMPONENTS in the llvm/lib/Frontend/CMakeLists.txt for LLVMFrontendDriver did not include it. As a result, linking failed in configurations where these components were not transitively linked. ### Fix: This updated patch explicitly adds Instrumentation to LINK_COMPONENTS in the relevant llvm/lib/Frontend/CMakeLists.txt` file to ensure the required symbols are properly resolved. --------- Co-authored-by: ict-ql <168183727+ict-ql@users.noreply.github.com> Co-authored-by: Chyaka <52224511+liliumshade@users.noreply.github.com> Co-authored-by: Tarun Prabhu <tarunprabhu@gmail.com> | 1 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 年前 | ||
| 1 年前 |