mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-23 05:29:23 +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();
|
return getFieldAs<DIFile>(6).getDirectory();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DIFile getFile() const {
|
||||||
|
return getFieldAs<DIFile>(6);
|
||||||
|
}
|
||||||
|
|
||||||
/// getScopeLineNumber - Get the beginning of the scope of the
|
/// getScopeLineNumber - Get the beginning of the scope of the
|
||||||
/// function, not necessarily where the name of the program
|
/// function, not necessarily where the name of the program
|
||||||
/// starts.
|
/// starts.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user