[PATCH] Add missing mingw-w64 case for Triple -> TargetInfo mapping
Rafael EspĂndola
rafael.espindola at gmail.com
Wed Aug 6 07:20:20 PDT 2014
can this be tested?
On 6 August 2014 02:30, Keno Fischer <kfischer at college.harvard.edu> wrote:
> mingw-w64 triples define os=MinGW32. This adds the missing mapping.
>
> http://reviews.llvm.org/D4804
>
> Files:
> lib/Basic/Targets.cpp
>
> Index: lib/Basic/Targets.cpp
> ===================================================================
> --- lib/Basic/Targets.cpp
> +++ lib/Basic/Targets.cpp
> @@ -6397,6 +6397,8 @@
> return new MinixTargetInfo<X86_32TargetInfo>(Triple);
> case llvm::Triple::Solaris:
> return new SolarisTargetInfo<X86_32TargetInfo>(Triple);
> + case llvm::Triple::MinGW32:
> + return new MinGWX86_32TargetInfo(Triple);
> case llvm::Triple::Win32: {
> switch (Triple.getEnvironment()) {
> default:
> @@ -6443,6 +6445,8 @@
> return new KFreeBSDTargetInfo<X86_64TargetInfo>(Triple);
> case llvm::Triple::Solaris:
> return new SolarisTargetInfo<X86_64TargetInfo>(Triple);
> + case llvm::Triple::MinGW32:
> + return new MinGWX86_64TargetInfo(Triple);
> case llvm::Triple::Win32: {
> switch (Triple.getEnvironment()) {
> default:
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
More information about the cfe-commits
mailing list