[LLVMdev] I stole the demo.

Michael Spencer bigcheesegs at gmail.com
Tue Mar 6 08:50:24 PST 2012


On Mon, Mar 5, 2012 at 3:52 AM, Richard Pennington <rich at pennware.com> wrote:
> On Monday, March 05, 2012 02:29:56 AM Duncan Sands wrote:
>> Hi Richard,
>>
>> > I had a little time on my hands this afternoon, so I stole the Clang/LLVM
>> > demo and modified it to allow compiling for several other targets:
>> > http://ellcc.org/demo
>>
>> does it use the correct header files for the target etc?
>>
>> Ciao, Duncan.
>
> Yes, it does. The header files are from my port of the NetBSD C library.
> I'm tempted to add an option to execute the result under QEMU, but I shudder
> to think about the security holes that would open. ;-)
>
> -Rich

We actually do have a safe way to run arbitrary native code. See
http://weegen.home.xs4all.nl/eelis/geordi/ . This is what
http://ideone.com/ and http://codepad.org/ use for safely running
code. Along with clang-bot in the #llvm irc channel.

- Michael Spencer



More information about the llvm-dev mailing list