[LLVMdev] Mapping C++ class names to LLVM type names?

Teemu Rinta-aho teemu.rinta-aho at nomadiclab.com
Thu Sep 23 07:39:08 PDT 2010


Hi,

We are writing a utility whose input includes the names of some C++ classes,
and we want to locate the corresponding LLVM types in the current module.

I'm trying to look through LLVM and clang sources but cannot figure out how
the LLVM type names are constructed for the C++ class names. Any help
appreciated (like the name of a library call to do it or even a pointer
to code where this mapping is done (in clang?)).

BR,
Teemu

--
Teemu Rinta-aho                      Tel:    +358 9 299 3078
Ericsson Research                    Mobile: +358 40 562 3066
Oy L M Ericsson Ab                   Fax:    +358 9 299 3535
02420 Jorvas, Finland                E-mail: teemu.rinta-aho at nomadiclab.com




More information about the llvm-dev mailing list