projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add `DIFile DISubprogram::getFile() const` for DragonEgg.
[oota-llvm.git]
/
include
/
llvm
/
DebugInfo.h
diff --git
a/include/llvm/DebugInfo.h
b/include/llvm/DebugInfo.h
index 47b58e22e0d39d71046b2c340dd8268793e82147..e77c86e6633ad3c0e3131fc8b40a481f6a7c447a 100644
(file)
--- a/
include/llvm/DebugInfo.h
+++ b/
include/llvm/DebugInfo.h
@@
-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.