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
5 files changed
tree: 1b70120ce6f62efb1040e1de5be50839b8e28294
  1. clang/
  2. compiler-rt/
  3. libcxx/
  4. lldb/
  5. llvm/