projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4f92fd
)
Add `DIFile DISubprogram::getFile() const` for DragonEgg.
author
David Blaikie
<dblaikie@gmail.com>
Mon, 18 Feb 2013 07:54:55 +0000
(07:54 +0000)
committer
David Blaikie
<dblaikie@gmail.com>
Mon, 18 Feb 2013 07:54:55 +0000
(07:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175428
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/DebugInfo.h
patch
|
blob
|
history
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.