mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-02 10:33:53 +00:00
Add getFile() to get DIFile of a DIType.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118247 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1e96bab329
commit
ab70ed41f3
@ -238,6 +238,7 @@ namespace llvm {
|
||||
|
||||
return getFieldAs<DIFile>(3).getCompileUnit();
|
||||
}
|
||||
DIFile getFile() const { return getFieldAs<DIFile>(3); }
|
||||
unsigned getLineNumber() const { return getUnsignedField(4); }
|
||||
uint64_t getSizeInBits() const { return getUInt64Field(5); }
|
||||
uint64_t getAlignInBits() const { return getUInt64Field(6); }
|
||||
|
Loading…
x
Reference in New Issue
Block a user