Author: Yaxun (Sam) Liu
Date: 2026-08-17T11:24:37-04:00
New Revision: 2618135dad905be68a3317af046fc1d53bc292db

URL: 
https://github.com/llvm/llvm-project/commit/2618135dad905be68a3317af046fc1d53bc292db
DIFF: 
https://github.com/llvm/llvm-project/commit/2618135dad905be68a3317af046fc1d53bc292db.diff

LOG: [HIP] Link profile runtime in device-only lld path (#211675)

HIP device-only code object links can use the direct lld path in
HIPAMD.cpp. That path did not add the profile runtime, so device-only
builds with profile generation missed `libclang_rt.profile.a`.

This patch adds the normal profile runtime handling to that linker path
and covers it with a driver test.

Added: 
    

Modified: 
    clang/lib/Driver/ToolChains/HIPAMD.cpp
    clang/test/Driver/hip-profile-rocm-runtime.hip

Removed: 
    


################################################################################Not
 Found

        
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to