mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-27 13:30:05 +00:00
Debug Info: pass in DIScope instead of DIDescriptor in createMemberType.
Improve readability. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190269 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1ed2e1fb92
commit
d372889eab
@ -191,7 +191,7 @@ namespace llvm {
|
||||
/// @param Flags Flags to encode member attribute, e.g. private
|
||||
/// @param Ty Parent type.
|
||||
DIDerivedType
|
||||
createMemberType(DIDescriptor Scope, StringRef Name, DIFile File,
|
||||
createMemberType(DIScope Scope, StringRef Name, DIFile File,
|
||||
unsigned LineNo, uint64_t SizeInBits, uint64_t AlignInBits,
|
||||
uint64_t OffsetInBits, unsigned Flags, DIType Ty);
|
||||
|
||||
|
@ -410,7 +410,7 @@ DIDerivedType DIBuilder::createInheritance(
|
||||
|
||||
/// createMemberType - Create debugging information entry for a member.
|
||||
DIDerivedType DIBuilder::createMemberType(
|
||||
DIDescriptor Scope, StringRef Name, DIFile File, unsigned LineNumber,
|
||||
DIScope Scope, StringRef Name, DIFile File, unsigned LineNumber,
|
||||
uint64_t SizeInBits, uint64_t AlignInBits, uint64_t OffsetInBits,
|
||||
unsigned Flags, DIType Ty) {
|
||||
// TAG_member is encoded in DIDerivedType format.
|
||||
|
Loading…
Reference in New Issue
Block a user