mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
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
This commit is contained in:
@@ -109,7 +109,7 @@ public:
|
||||
StringRef lineSection = StringRef(),
|
||||
StringRef stringSection = StringRef(),
|
||||
StringRef rangeSection = StringRef(),
|
||||
const RelocAddrMap &Map = RelocAddrMap());
|
||||
const RelocAddrMap *Map = 0);
|
||||
|
||||
virtual void dump(raw_ostream &OS) = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user