mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-22 13:29:44 +00:00
Add DIFile DISubprogram::getFile() const
for DragonEgg.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175428 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d4f92fd0d1
commit
4293f4e4d9
@ -570,6 +570,10 @@ namespace llvm {
|
||||
return getFieldAs<DIFile>(6).getDirectory();
|
||||
}
|
||||
|
||||
DIFile getFile() const {
|
||||
return getFieldAs<DIFile>(6);
|
||||
}
|
||||
|
||||
/// getScopeLineNumber - Get the beginning of the scope of the
|
||||
/// function, not necessarily where the name of the program
|
||||
/// starts.
|
||||
|
Loading…
x
Reference in New Issue
Block a user