[llvm-commits] [llvm-gcc-4.2] r119778 - /llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp

Rafael Espíndola rafael.espindola at gmail.com
Sat Nov 20 08:53:33 PST 2010


> I have to wonder why this is being set in the front-end at all.  The
> front-end already told LLVM what the sub-target is.  If the (sub)target
> can't handle .loc, shouldn't the code generators automatically fall
> back to the other method?

Clang has an integrated assembler, so it doesn't need to worry about a
system assembler that doesn't support .loc. The backend cannot tell if
it is being used by clang or not.

> Ciao,
>
> Duncan.
>

Cheers,
Rafael




More information about the llvm-commits mailing list