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)
commitb05098b88435f5d8903a54f6bb8b9cc9f9700d13
treea5ee89c91b53cfa8194f3165be021af4b0059269
parent66a2b0564e2f7a4ab0021c2a9edf849d782c7f02
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222195 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/DebugInfo.h
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
lib/IR/DIBuilder.cpp
lib/IR/DebugInfo.cpp
test/DebugInfo/global-with-type-context.ll [new file with mode: 0644]