diff options
author | Vyacheslav Levytskyy <89994100+VyacheslavLevytskyy@users.noreply.github.com> | 2024-02-15 11:30:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-15 11:30:17 +0100 |
commit | 9552a396ed649e499bc4a370ab72ca6972e5b982 (patch) | |
tree | bfe227e97a06e713108e5cdaf98e493f4c6b08ea /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | dfb9bf35c42a04a8f152dabf0a9d1a52e451f942 (diff) | |
download | llvm-9552a396ed649e499bc4a370ab72ca6972e5b982.zip llvm-9552a396ed649e499bc4a370ab72ca6972e5b982.tar.gz llvm-9552a396ed649e499bc4a370ab72ca6972e5b982.tar.bz2 |
add support for the SPV_KHR_linkonce_odr extension (#81512)
This PR adds support for the SPV_KHR_linkonce_odr extension and modifies
existing negative test with a positive check for the extension and
proper linkage type in case when the extension is enabled.
SPV_KHR_linkonce_odr adds a "LinkOnceODR" linkage type, allowing proper
translation of, for example, C++ templates classes merging during
linking from different modules and supporting any other cases when a
global variable/function must be merged with equivalent global
variable(s)/function(s) from other modules during the linking process.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions