Skip to content

Commit 49e8cec

Browse files
[clang] use microsoft cxx abi in uefi
1 parent 1a29a74 commit 49e8cec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/lib/Basic/Targets/OSTargets.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -802,6 +802,7 @@ class LLVM_LIBRARY_VISIBILITY UEFITargetInfo : public OSTargetInfo<Target> {
802802
: OSTargetInfo<Target>(Triple, Opts), Triple(Triple) {
803803
this->WCharType = TargetInfo::UnsignedShort;
804804
this->WIntType = TargetInfo::UnsignedShort;
805+
this->TheCXXABI.set(TargetCXXABI::Microsoft);
805806
}
806807

807808
TargetInfo::CallingConvKind

0 commit comments

Comments
 (0)