[LLVMdev] GCMetadataPrinter::finishAssembly not executed?

Yiannis Tsiouris gtsiour at softlab.ntua.gr
Thu Feb 14 06:30:15 PST 2013


Ping for this.

On 02/10/2013 08:47 PM, Yiannis Tsiouris wrote:
> After rebasing my local LLVM repo to ToT, I noticed that the
> finishAssembly function is not executed and, thus, the stack map is not
> printed at all.
>
> Is this a known issue or I 'm doing something wrong?
>
> I used a custom GCMetadataPrinter plugin but I reproduced this using the
> builtin "ocaml" GC plugin and the attached file (actually, any simple ll
> file that uses "ocaml" gc is fine).
>
> Note: The beginAssembly function works great.
>    
I've tried adding two debug prints in 
lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp: one in beginAssembly and one 
in finishAssembly. It seems to me that finishAssembly is never called.

Has anyone tried anything similar? Testing this should be rather 
straightforward. :-)


Thanks!
yiannis

-- 
Yiannis Tsiouris
Ph.D. student,
Software Engineering Laboratory,
National Technical University of Athens
WWW: http://www.softlab.ntua.gr/~gtsiour




More information about the llvm-dev mailing list