mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-27 14:24:40 +00:00
Debug Info: pass in VTableHolder as DIType instead of MDNode *.
Remove one cast and improve readability. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190225 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -17,6 +17,7 @@
|
||||
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include "llvm/DebugInfo.h"
|
||||
#include "llvm/Support/DataTypes.h"
|
||||
#include "llvm/Support/ValueHandle.h"
|
||||
|
||||
@ -288,7 +289,7 @@ namespace llvm {
|
||||
uint64_t SizeInBits, uint64_t AlignInBits,
|
||||
uint64_t OffsetInBits, unsigned Flags,
|
||||
DIType DerivedFrom, DIArray Elements,
|
||||
MDNode *VTableHolder = 0,
|
||||
DIType VTableHolder = NULL,
|
||||
MDNode *TemplateParms = 0,
|
||||
StringRef UniqueIdentifier = StringRef());
|
||||
|
||||
@ -308,7 +309,7 @@ namespace llvm {
|
||||
uint64_t SizeInBits, uint64_t AlignInBits,
|
||||
unsigned Flags, DIType DerivedFrom,
|
||||
DIArray Elements, unsigned RunTimeLang = 0,
|
||||
MDNode *VTableHolder = 0,
|
||||
DIType VTableHolder = NULL,
|
||||
StringRef UniqueIdentifier = StringRef());
|
||||
|
||||
/// createUnionType - Create debugging information entry for an union.
|
||||
@ -586,7 +587,7 @@ namespace llvm {
|
||||
DICompositeType Ty, bool isLocalToUnit,
|
||||
bool isDefinition,
|
||||
unsigned Virtuality = 0, unsigned VTableIndex = 0,
|
||||
MDNode *VTableHolder = 0,
|
||||
DIType VTableHolder = NULL,
|
||||
unsigned Flags = 0,
|
||||
bool isOptimized = false,
|
||||
Function *Fn = 0,
|
||||
|
Reference in New Issue
Block a user