search for: pluginastaction

Displaying 3 results from an estimated 3 matches for "pluginastaction".

2012 Jun 05
0
[LLVMdev] 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?...
2012 Jun 05
1
[LLVMdev] 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 fi...
2013 Apr 25
0
[LLVMdev] Template and GC root
...Currently, GC roots are manually identified by explicit calls to a specific C++ function. Then when C++ code is converted to LLVM IR, an optimization pass is applied to replace all calls to this specific C++ function by calls to llvm.gcroot intrinsic. The process I am using know relies on Clang PluginASTAction and MatchFinder. Whenever a GC root variable is matched as function parameter or local variable, then I generate a C++ function call (with the help of Clang Rewriter) to identify the GC root. This works quite good in general, except for template methods. In some cases the same method can be call...