[cfe-dev] Fwd: [LLVMdev] Mapping C++ class names to LLVM type names?

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


Posting also here, maybe it's the better suited mailing list for this.

Teemu

Begin forwarded message:

> From: Teemu Rinta-aho <teemu.rinta-aho at nomadiclab.com>
> Date: September 23, 2010 5:39:08 PM GMT+03:00
> To: LLVM Developers Mailing List <llvmdev at cs.uiuc.edu>
> Subject: [LLVMdev] Mapping C++ class names to LLVM type names?
> 
> 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 cfe-dev mailing list