[cfe-commits] r107739 - in /cfe/trunk: include/clang/Frontend/CodeGenOptions.h lib/CodeGen/CodeGenFunction.cpp lib/CodeGen/CodeGenFunction.h lib/CodeGen/CodeGenModule.cpp lib/CodeGen/CodeGenModule.h
Chris Lattner
clattner at apple.com
Tue Jul 6 17:11:49 PDT 2010
On Jul 6, 2010, at 4:57 PM, John McCall wrote:
> Author: rjmccall
> Date: Tue Jul 6 18:57:41 2010
> New Revision: 107739
>
> URL: http://llvm.org/viewvc/llvm-project?rev=107739&view=rev
> Log:
> Provide a hook for the benefit of clients using clang IR gen as a subroutine:
> emit metadata associating allocas and global values with a Decl*. This feature
> is controlled by an option that (intentionally) cannot be enabled on the command
> line.
>
> To use this feature, simply set
> CodeGenOptions.EmitDeclMetadata = true;
> and then interpret the completely underspecified metadata. :)
FYI, this will be used by the LLDB folks.
-Chris
More information about the cfe-commits
mailing list