[cfe-commits] r139423 - in /cfe/trunk: include/clang/Basic/ lib/CodeGen/ lib/Sema/ test/CodeGen/ test/Sema/

John McCall rjmccall at apple.com
Fri Sep 9 18:40:20 PDT 2011


On Sep 9, 2011, at 3:41 PM, Julien Lerouge wrote:
> Author: jlerouge
> Date: Fri Sep  9 17:41:49 2011
> New Revision: 139423
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=139423&view=rev
> Log:
> Bring llvm.annotation* intrinsics support back to where it was in llvm-gcc: can
> annotate global, local variables, struct fields, or arbitrary statements (using
> the __builtin_annotation), rdar://8037476.

test/CodeGen/annotations-var.c relies on LLVM IR names of local variables, which Clang does not guarantee the stability of;  I've fixed it in r139455, but please be mindful of this in the future.

John.



More information about the cfe-commits mailing list