| commit | 09ae03299a5fcedde332a9f89d5cafaa83813a7a | [log] [tgz] |
|---|---|---|
| author | John McCall <rjmccall@apple.com> | Tue Jul 06 23:57:41 2010 +0000 |
| committer | John McCall <rjmccall@apple.com> | Tue Jul 06 23:57:41 2010 +0000 |
| tree | 1b70120ce6f62efb1040e1de5be50839b8e28294 | |
| parent | da534381f80fa674ce585bc54475112a2eb2f7b0 [diff] |
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. :) llvm-svn: 107739