Debug Info: In DIBuilder, the context field of a global variable is updated to
authorManman Ren <manman.ren@gmail.com>
Tue, 18 Nov 2014 00:29:08 +0000 (00:29 +0000)
committerManman Ren <manman.ren@gmail.com>
Tue, 18 Nov 2014 00:29:08 +0000 (00:29 +0000)
commit554865da5b605d975884f8dbfbc723f972ebfc82
tree2ef9b3e413be699ea9d608962fb0cbd647775ca1
parent0d8d6c094f5da64e2c1bda992e8a65a5af27fdb1
Debug Info: In DIBuilder, the context field of a global variable is updated to
use DIScopeRef.

A paired commit at clang will follow to show cases where we will use an
identifer for the context of a global variable.

rdar://18958417

llvm-svn: 222195
llvm/include/llvm/IR/DebugInfo.h
llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
llvm/lib/IR/DIBuilder.cpp
llvm/lib/IR/DebugInfo.cpp
llvm/test/DebugInfo/global-with-type-context.ll [new file with mode: 0644]