[PATCH] D90299: [windows-itanium] handle dllimport/export code paths separately and share with PS4
ben via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 28 04:46:44 PDT 2020
bd1976llvm created this revision.
bd1976llvm added a reviewer: compnerd.
Herald added a reviewer: aaron.ballman.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
bd1976llvm requested review of this revision.
Similar to Windows Itanium, PS4 is also an Itanium C++ ABI variant and shares the goal of source code compatibility with Microsoft code that uses dllimport/export.
This change introduces a new function to determine from the triple if an environment aims for compatibility with MS w.r.t these attributes and guards the relevant code paths using that function.
Note: PS4 testcases will be added later as the upstream PS4 target does not yet have working support for dllimport/export attributes.
https://reviews.llvm.org/D90299
Files:
clang/lib/CodeGen/ItaniumCXXABI.cpp
clang/lib/Sema/SemaDeclAttr.cpp
clang/lib/Sema/SemaDeclCXX.cpp
clang/lib/Sema/SemaTemplate.cpp
llvm/include/llvm/ADT/Triple.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90299.301237.patch
Type: text/x-patch
Size: 6603 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201028/8383286d/attachment.bin>
More information about the llvm-commits
mailing list