[cfe-commits] r134877 - /cfe/trunk/tools/driver/cc1as_main.cpp

Chris Lattner clattner at apple.com
Sun Jul 10 15:49:38 PDT 2011


On Jul 10, 2011, at 12:16 PM, Joerg Sonnenberger wrote:

> Author: joerg
> Date: Sun Jul 10 14:16:25 2011
> New Revision: 134877
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=134877&view=rev
> Log:
> Unbreak -cc1as mode after MC subtarget changes

Wow, that's bad.  Testcase please!

-Chris

> 
> Modified:
>    cfe/trunk/tools/driver/cc1as_main.cpp
> 
> Modified: cfe/trunk/tools/driver/cc1as_main.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/driver/cc1as_main.cpp?rev=134877&r1=134876&r2=134877&view=diff
> ==============================================================================
> --- cfe/trunk/tools/driver/cc1as_main.cpp (original)
> +++ cfe/trunk/tools/driver/cc1as_main.cpp Sun Jul 10 14:16:25 2011
> @@ -353,6 +353,7 @@
>   InitializeAllTargetInfos();
>   // FIXME: We shouldn't need to initialize the Target(Machine)s.
>   InitializeAllTargets();
> +  InitializeAllMCSubtargetInfos();
>   InitializeAllAsmPrinters();
>   InitializeAllAsmParsers();
> 
> 
> 
> _______________________________________________
> 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