Fixup for r167558: Store raw pointer (instead of reference) to RelocMap in DIContext...
authorAlexey Samsonov <samsonov@google.com>
Mon, 12 Nov 2012 14:25:36 +0000 (14:25 +0000)
committerAlexey Samsonov <samsonov@google.com>
Mon, 12 Nov 2012 14:25:36 +0000 (14:25 +0000)
commit4c0ae9066fecbbd507162a880450641aa5c33098
tree9fd68167d4944186f5015d3da5eec854da240b02
parent30d8f0e9770db76f19273419c57fe112129b145a
Fixup for r167558: Store raw pointer (instead of reference) to RelocMap in DIContext. This is needed to prevent crashes because of dangling reference if the clients don't provide RelocMap to DIContext constructor.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167728 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/DebugInfo/DIContext.h
lib/DebugInfo/DIContext.cpp
lib/DebugInfo/DWARFContext.h
lib/DebugInfo/DWARFFormValue.cpp
tools/llvm-dwarfdump/llvm-dwarfdump.cpp