llvm/lib/Bitcode/Writer
Peter Collingbourne 5420de3f15 DebugInfo: New metadata representation for global variables.
This patch reverses the edge from DIGlobalVariable to GlobalVariable.
This will allow us to more easily preserve debug info metadata when
manipulating global variables.

Fixes PR30362. A program for upgrading test cases is attached to that
bug.

Differential Revision: http://reviews.llvm.org/D20147

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281284 91177308-0d34-0410-b5e6-96231b3b80d8
2016-09-13 01:12:59 +00:00
..
BitcodeWriter.cpp DebugInfo: New metadata representation for global variables. 2016-09-13 01:12:59 +00:00
BitcodeWriterPass.cpp [PM] Port ModuleSummaryIndex analysis to new pass manager 2016-08-12 13:53:02 +00:00
BitWriter.cpp Introduce LLVMWriteBitcodeToMemoryBuffer C API function. 2014-10-14 00:30:59 +00:00
CMakeLists.txt modules: Add explicit dependency on intrinsics_gen 2015-06-16 00:44:12 +00:00
LLVMBuild.txt [ThinLTO] BitcodeWriter still requires Analysis library 2016-04-11 14:59:07 +00:00
ValueEnumerator.cpp Add an assertion for the value enumerator (bitcode writer) NFC 2016-07-08 01:13:41 +00:00
ValueEnumerator.h IR: Allow metadata attachments on declarations, and fix lazy loaded metadata issue with globals. 2016-06-21 23:42:48 +00:00