[cfe-dev] How can I read clang::TypeLocVisitor::Visit() ?

Journeyer J. Joh oosaprogrammer at gmail.com
Thu Nov 1 06:55:29 PDT 2012

The secret I found now is that debugging .def file can be helped by
viewing of intermediate file, which is '~~.ii'.

These macro in .def files was a big wall for me to trace using gdb.
But now I found 'g++ -save-temps' of one of .h or .c very much helpful.

Thank you very much!


2012/11/1 Konstantin Tokarev <annulen at yandex.ru>:
> 01.11.2012, 17:04, "Journeyer J. Joh" <oosaprogrammer at gmail.com>:
>> Hi Konstantin Tokarev
>> I understood.
>> I doubted there be some secret I don't know.
> "Secret" is that .def files are usually included into several files with
> different definitions of macros used inside them.
> --
> Regards,
> Konstantin

Journeyer J. Joh
o o s a p r o g r a m m e r
a t
g m a i l  d o t  c o m

More information about the cfe-dev mailing list