[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 12:21:59 PST 2010
> can't the logic only kick in if you are writing out an assembler file,
> rather than an object file?
I think so, since the target knows it is creating an asm printer. It
didn't look like the correct thing to do. For example, if I am in a
darwin 9 system and I run "clang -S", it is probably because I am
reading the output and would expect to see .loc directives in it.
Having said that, I don't actually have a darwin 9 (or lower) system,
so I don't know what its users would prefer.
Setting this from the FE is also necessary if anyone wants to
implement a command line option to turn it on and off (I don't
actually think it is necessary).
> Ciao,
>
> Duncan.
>
Thanks,
Rafael
More information about the llvm-commits
mailing list