diff options
author | Wenju He <wenju.he@intel.com> | 2025-04-24 04:35:16 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-24 05:35:16 +0100 |
commit | 77fe6aaeaaf2b16e021675e92e543dafd18bbc0b (patch) | |
tree | 38ec9d54d9495a0926236e60f8f03009c8c35b52 /lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp | |
parent | cb96a3dc07b0a26023633ae91fab9b4213730236 (diff) | |
download | llvm-77fe6aaeaaf2b16e021675e92e543dafd18bbc0b.zip llvm-77fe6aaeaaf2b16e021675e92e543dafd18bbc0b.tar.gz llvm-77fe6aaeaaf2b16e021675e92e543dafd18bbc0b.tar.bz2 |
[libclc] only check filename part of the source for avoiding duplication (#135710)
llvm-diff shows this PR has no changes to amdgcn--amdhsa.bc.
Motivation is that in our downstream the same category of target
built-ins, e.g. math, are organized in several different folders. For
example, in target SOURCES we have math-common/cos.cl, while in generic
SOURCES it is math/cos.cl. Based on current check rule that compares
both folder name and base filename, target math-common/cos.cl won't
override math/cos.cl when collecting source files from SOURCES files in
cmake function libclc_configure_lib_source.
With this PR, we allow folder name to be different in the process.
A notable change of this PR is that two entries in SOURCES with the same
base filename must not implements the same built-in.
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp')
0 files changed, 0 insertions, 0 deletions