X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm%2FDebugInfo.h;h=e77c86e6633ad3c0e3131fc8b40a481f6a7c447a;hb=4293f4e4d935aa620ea2615323cf7ad016f6e346;hp=47b58e22e0d39d71046b2c340dd8268793e82147;hpb=d4f92fd0d1f22af553db08416b476241e4372d9a;p=oota-llvm.git diff --git a/include/llvm/DebugInfo.h b/include/llvm/DebugInfo.h index 47b58e22e0d..e77c86e6633 100644 --- a/include/llvm/DebugInfo.h +++ b/include/llvm/DebugInfo.h @@ -570,6 +570,10 @@ namespace llvm { return getFieldAs(6).getDirectory(); } + DIFile getFile() const { + return getFieldAs(6); + } + /// getScopeLineNumber - Get the beginning of the scope of the /// function, not necessarily where the name of the program /// starts.