Have you guys met this issue about "typeinfo" & "vtable" of ASTConsumer and PluginASTAction?

Hello Guys,

From this morning, I have been always trying PrintFunctionNames - an example of clang, but during compiling I was always meeting “__ZTIN5clang15PluginASTActionE”, referenced from: __ZTI24PrintFunctionNamesAction in PrintFunctionNames.cpp.o.

In fact, I didn’t have “__ZTIN5clang15PluginASTActionE” in the symbol table, only I have was “__ZTVN5clang15PluginASTActionE”.

So, could you tell me what’s going on and how to fix it?

Thank you,
Jeffrey.

Sounds like you’re building your project w/ RTTI enabled and your LLVM libraries are build with it disabled.

-Jim