[llvm-commits] [llvm-gcc-4.2] r119778 - /llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
Duncan Sands
baldrick at free.fr
Fri Nov 19 00:42:24 PST 2010
Hi Rafael,
> Don't use the .loc directive.
>
> Modified:
> llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
>
> Modified: llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp?rev=119778&r1=119777&r2=119778&view=diff
> ==============================================================================
> --- llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp (original)
> +++ llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp Thu Nov 18 20:49:58 2010
> @@ -531,6 +531,7 @@
> FeatureStr = Features.getString();
>
> TheTarget = TME->createTargetMachine(TargetTriple, FeatureStr);
> + TheTarget->setMCUseLoc(false);
shouldn't this only be set on darwin systems?
Ciao,
Duncan.
More information about the llvm-commits
mailing list