[llvm-commits] Per-module ctors for execution engine

David Chisnall csdavec at swansea.ac.uk
Mon Sep 29 10:54:31 PDT 2008


Hi,

This patch adds a version of runStaticConstructorsDestructors which  
takes a module as an argument, allowing ctors in modules created after  
the ExecutionEngine to be run.  It refactors the original code so that  
the per-module body is now in the new method and the for loop in the  
original now just calls the new one.

David
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: llvm_ctors.diff.txt
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20080929/61734318/attachment.txt>


More information about the llvm-commits mailing list