[LLVMdev] [PATCH][RFC] Add llvm.codegen Intrinsic To Support Embedded LLVM IR Code Generation

Tobias Grosser tobias at grosser.es
Mon May 7 01:22:41 PDT 2012


On 04/29/2012 09:56 PM, Tobias Grosser wrote:
> On 04/29/2012 08:28 PM, Evan Cheng wrote:
>> Wait. I don't think there is enough justification for this to move
>> forward. Apart from the technical issues that have already been
>> raised. I can also see this introduces a safety issue since the
>> embedded IR code is not checked / verified at compile time. Unless
>> Chris says otherwise, I don't see this patch being accepted on trunk.
[...]
> Could you explain what security issues you exactly see? The embedded LLVM-IR
> is checked by the IR verifier the same as the host IR is. For both
> LLVM-IR modules the target code is generated and consequently verified
> at the same time. The embedded IR is _not_ compiled later than the host
> IR. What did I miss?

Hi Evan,

in your last mail, you pointed out security issues with this intrinsic.
Could you point them out to me?

Tobi



More information about the llvm-dev mailing list