[cfe-dev] __builtin_va_list issue with -ccc-host-triple x86_64-pc-win32-macho
Andrew Fish
afish at apple.com
Tue Apr 12 18:24:51 PDT 2011
On Apr 11, 2011, at 9:55 PM, NAKAMURA Takumi wrote:
> Andrew,
>
> It might be dubious in lib/Basic/Targets.cpp.
>
> case llvm::Triple::x86_64:
> switch (os) {
> (snip)
> case llvm::Triple::Win32: // This is what Triple.h supports now.
> if (Triple.getEnvironment() == llvm::Triple::MachO)
> return new DarwinX86_64TargetInfo(T);
> else
> return new VisualStudioWindowsX86_64TargetInfo(T);
>
> ...Takumi
Takumi,
Thanks! That looks like the issue.
Unfortunately this fix broke some other code in the EFI emulator that was including Darwin system files and I need to work on that before I can fully test the change.
Thanks,
Andrew
More information about the cfe-dev
mailing list