[cfe-commits] r83199 - in /cfe/trunk/lib: Driver/Tools.cpp Frontend/InitPreprocessor.cpp
Rafael Espíndola
rafael.espindola at gmail.com
Thu Oct 1 10:47:46 PDT 2009
> This is a regression in TOT. Passing -triple x86_64-apple-darwin10 to
> clang-cc (-m64 to clang) implies
> -fobjc-nonfragile-abi. Yet we get int a = 0;
OK, I found the problem. In Targets.cpp we have
if (MajorVersion >= 9 && Opts.ObjC1 &&
Triple.getArch() == llvm::Triple::x86_64)
Opts.ObjCNonFragileABI = 1;
Keeping with the idea of doing feature checks in clang instead of
clang-cc, maybe the correct fix is to move this test to clang too?
> - Fariborz
>
Cheers,
Rafael
More information about the cfe-commits
mailing list