[cfe-dev] [PATCH] Round 3: add unconditional support for block signatures
Fariborz Jahanian
fjahanian at apple.com
Mon Feb 22 17:53:02 PST 2010
You want to remove #ifdef'ed out code in your test case.
Also, this test may or may not pass for 32bit mode. So, you may want
to add something
like -triple x86_64-unknown-unknown to command line.
- Fariborz
On Feb 22, 2010, at 5:30 PM, Blaine Garst wrote:
> Thanks to Fariborz suggestion that I write a unit test I discovered
> that clang was not emitting the type signature information for
> global blocks.
>
> While there I renamed his "types" field internally to "signature" to
> reflect its more natural name which I will be using in the runtime.
>
> More significantly, I realized that we can recover the unused-by-the-
> runtime (1<<29) bit now that unconditionally mark (1<<30). This
> will enable the compiler to (re)use that bit sometime in the future.
>
> Test "blocksignature.c" attached.
>
> <clang-4.patch>
> <blocksignature.c>
>
> Blaine
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100222/b50edec5/attachment.html>
More information about the cfe-dev
mailing list