Displaying 7 results from an estimated 7 matches for "shadowstackentry".
2008 Apr 21
2
[LLVMdev] getting started with IR needing GC
...-gcc support.
doh! That's how I missed the binary. thanks!
> Since the semispace heap doesn't actually work (it's an example, at
> best), I suggest you simply copy the stack visitor into your project;
> it's only a dozen lines of code or so.
Ok, copying; can't find ShadowStackEntry though. Even make in that
dir doesn't work:
/usr/local/llvm-2.2/runtime/GC/SemiSpace $ sudo make
Password:
llvm[0]: Compiling semispace.c for Release build (bytecode)
semispace.c:107: error: expected specifier-qualifier-list before
'ShadowStackEntry'
semispace.c:111: error: expecte...
2008 Apr 21
0
[LLVMdev] getting started with IR needing GC
...:36 PM, Gordon Henriksen wrote:
>
>> Since the semispace heap doesn't actually work (it's an example, at
>> best), I suggest you simply copy the stack visitor into your
>> project; it's only a dozen lines of code or so.
>
>
> Ok, copying; can't find ShadowStackEntry though. Even make in that
> dir doesn't work:
Please use the version from subversion; this is broken in 2.2 release,
unfortunately.
> how does the gc "shadow-stack" gcroot intrinsic work exactly? I
> couldn't read the assembly very well. Seems my example above...
2008 Apr 21
2
[LLVMdev] getting started with IR needing GC
...te:
>>
>>> Since the semispace heap doesn't actually work (it's an example,
>>> at best), I suggest you simply copy the stack visitor into your
>>> project; it's only a dozen lines of code or so.
>>
>>
>> Ok, copying; can't find ShadowStackEntry though. Even make in that
>> dir doesn't work:
>
> Please use the version from subversion; this is broken in 2.2
> release, unfortunately.
ah! ok, looks better now. :)
>> how does the gc "shadow-stack" gcroot intrinsic work exactly? I
>> couldn'...
2008 Apr 22
0
[LLVMdev] getting started with IR needing GC
...ator to
>> automatically maintain the linked list of stack frames. You don't
>> have to do anything to maintain these shadow stack frames except to
>> keep your variables in the llvm.gcroot'd allocas. Essentially, it
>> does this:
>>
>> struct ShadowStackEntry {
>> ShadowStackLink *next;
>> const ShadowStackMetadata *metadata;
>> void *roots[0];
>> };
>
> Ok, bear with me here...
>
> What's the difference between ShadowStackLink and ShadowStackEntry?
This is an abstract type with a flex...
2008 Apr 21
0
[LLVMdev] getting started with IR needing GC
Hi Terence,
On 2008-04-20, at 20:08, Terence Parr wrote:
> I've exhausted what I can do on my own to make a GC example bind
> (usual googling, reading, playing, looking at source). I can't find
> the shadow collector lib or perhaps the -l options needed to link my
> sample (not even to point where I'm figuring out GC actually as I
> can't link).
The shadow
2008 Apr 21
2
[LLVMdev] getting started with IR needing GC
Howdy do LLVM folks!
I've exhausted what I can do on my own to make a GC example bind
(usual googling, reading, playing, looking at source). I can't find
the shadow collector lib or perhaps the -l options needed to link my
sample (not even to point where I'm figuring out GC actually as I
can't link). Not sure this IR is correct but here is what I've been
playing
2008 Mar 07
1
[LLVMdev] runtime/GC/SemiSpace/semispace.c does not build in release 2.2?
I just downloaded the source for release 2.2, and when I try to build
'make -C runtime' it fails with the following error:
----
[...]
llvm[2]: Compiling semispace.c for Release build (bytecode)
semispace.c:107: error: syntax error before 'ShadowStackEntry'
semispace.c:107: warning: no semicolon at end of struct or union
semispace.c:108: error: syntax error before '*' token
semispace.c:108: warning: type defaults to 'int' in declaration of 'Map'
semispace.c:108: warning: data definition has no type or storage class
semispa...