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

Anton Korobeynikov anton at korobeynikov.info
Thu Sep 23 08:51:35 PDT 2010


Hello

> 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.
The LLVM typename for given class can be arbitrary due to structure
equivalence in LLVM type system.
Also, the name of LLVM type does not contain any semantic information,
it can be dropped w/o any visible effect.

For your purposes you should use debug info.

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-dev mailing list