[all-commits] [llvm/llvm-project] 1172bd: [HIP] Fix unbundling archive
Yaxun (Sam) Liu via All-commits
all-commits at lists.llvm.org
Mon Sep 26 19:19:56 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1172bdecfab364579d90e6aa5ba7fc64a5b96786
https://github.com/llvm/llvm-project/commit/1172bdecfab364579d90e6aa5ba7fc64a5b96786
Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
Date: 2022-09-26 (Mon, 26 Sep 2022)
Changed paths:
M clang/lib/Driver/Driver.cpp
M clang/lib/Driver/ToolChains/CommonArgs.cpp
M clang/test/Driver/clang-offload-bundler.c
M clang/test/Driver/hip-link-bundle-archive.hip
Log Message:
-----------
[HIP] Fix unbundling archive
HIP is able to unbundle archive of bundled bitcode.
However currently there are two bugs:
1. archives passed by -l: are not unbundled.
2. archives passed as input files are not unbundled
The actual file name of an archive passed by -l: should
not be prefixed with lib and appended with '.a',
but the file path is prefixed with paths in '-L' options.
The actual file name of an archive passed as an input file
stays the same, not affected by the '-L' options.
More information about the All-commits
mailing list