mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-05 10:39:21 +00:00
Add DIFile DISubprogram::getFile() const
for DragonEgg.
llvm-svn: 175428
This commit is contained in:
parent
136cd29e34
commit
0bf41d5263
@ -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…
Reference in New Issue
Block a user