mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-07 12:28:24 +00:00
Do not use value handle to wrap MDNode in DIDescriptor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88700 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -44,9 +44,11 @@ namespace llvm {
|
|||||||
class Instruction;
|
class Instruction;
|
||||||
class LLVMContext;
|
class LLVMContext;
|
||||||
|
|
||||||
|
/// DIDescriptor - A thin wraper around MDNode to access encoded debug info. This should not
|
||||||
|
/// be stored in a container, because underly MDNode may change in certain situations.
|
||||||
class DIDescriptor {
|
class DIDescriptor {
|
||||||
protected:
|
protected:
|
||||||
TrackingVH<MDNode> DbgNode;
|
MDNode *DbgNode;
|
||||||
|
|
||||||
/// DIDescriptor constructor. If the specified node is non-null, check
|
/// DIDescriptor constructor. If the specified node is non-null, check
|
||||||
/// to make sure that the tag in the descriptor matches 'RequiredTag'. If
|
/// to make sure that the tag in the descriptor matches 'RequiredTag'. If
|
||||||
|
Reference in New Issue
Block a user