[cfe-dev] Clang-Cl - support for the FAcs flag?
Nico Weber via cfe-dev
cfe-dev at lists.llvm.org
Tue Mar 6 10:33:40 PST 2018
But patches are of course gladly accepted, if you want to give it a try
yourself :-)
Other ways to get what you want:
* If you use vim, whodis (https://github.com/sgraham/whodis) can show the
assembly of the current function and it color-codes which parts of the
function become which assembly. It works reasonably well. I haven't tried
it on Windows yet, but in a chrome/win cross build on linux it worked well.
* Ideally we'd add clang-cl support to godbolt.org. I looked at this for a
tiny bit a few months ago (
https://github.com/mattgodbolt/compiler-explorer/issues/204) but got
distracted (and I'm not super likely to get re-tracted…uh…back-on-track
soon – so this would be a cool project for someone too)
On Tue, Mar 6, 2018 at 12:54 PM, Reid Kleckner via cfe-dev <
cfe-dev at lists.llvm.org> wrote:
> I don't think there are any plans to add it. We don't have support for the
> equivalent GCC flags yet either (-Wa,-adhln, I think?), so this isn't just
> a matter of hooking things up. The feature would need to be implemented
> from scratch.
>
>
> On Tue, Mar 6, 2018 at 12:59 AM via cfe-dev <cfe-dev at lists.llvm.org>
> wrote:
>
>> Hello Clang-Dev-List-People,
>>
>> I use clang-cl integrated to Visual Studio to compile my projects. This
>> is working fine. I wanted to ask, if there are plans for supporting the
>> /FAcs flag of the visual studio compiler? Or at least is there a work
>> around?
>>
>> For those how doesn't know the flag:
>> It generates assembly output, but also mixes the C/C++ source code as
>> comments into it. This really helps to find points of interest.
>>
>> Kind regards
>> Björn
>>
>> Als GmbH eingetragen im Handelsregister Bad Homburg v.d.H. HRB 9816,
>> USt.ID-Nr. DE 114 165 789
>> Geschäftsführer: Dr. Hiroshi Nakamura, Dr. Robert Plank, Markus Bode,
>> Heiko Lampert, Hiroshi Kawamura, Takashi Nagano, Takeshi Fukushima.
>>
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20180306/4f501906/attachment.html>
More information about the cfe-dev
mailing list