I fully agree to your assessment and prefer solution 1 as well. Would you please elaborate on how to you imagine implement it? Cheers, Conny http://reviews.llvm.org/D3305