[all-commits] [llvm/llvm-project] 12c6a4: [HIP] Fix unbundling archive

Yaxun (Sam) Liu via All-commits all-commits at lists.llvm.org
Wed Oct 12 13:40:01 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 12c6a41f5249fa97041754d38cac28877ed49611
      https://github.com/llvm/llvm-project/commit/12c6a41f5249fa97041754d38cac28877ed49611
  Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
  Date:   2022-10-12 (Wed, 12 Oct 2022)

  Changed paths:
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    M clang/test/Driver/hip-link-bundle-archive.hip

  Log Message:
  -----------
  [HIP] Fix unbundling archive

When -lxxx is specified, if there happens to have a directory or
file with name xxx, clang will not look up libxxx.a, but will
try to unbundle xxx instead.

Reviewed by: Saiyedul Islam, Artem Belevich

Differential Revision: https://reviews.llvm.org/D135724




More information about the All-commits mailing list