Hi,
I've followed the LLVM
tutorial<http://llvm.org/docs/tutorial/LangImpl4.html> to
create an execution environment for my DSL and want to enable the shadow
stack for garbage collection. On all functions generated by my compiler I
call setGC("shadow-stack").
I end up with IR functions like this:
define float @"main float"(float %x) gc "shadow-stack" {
entry:
......
......
}
When I try to execute a function using
executionEngine->getPointerToFunction(myFunction) it returns the following
error: unsupported GC: shadow-stack
Am I missing some initialisation step? Is there example code of correct
shadow stack usage folk can steer me towards?
Sorry to bother the group with such a trivial questions.
Don
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20120225/9906f287/attachment.html>