aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-03-20 23:58:12 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-03-20 23:58:12 +0000
commit00c5c5d46731834caa0ca3280e0dcc43202dd3c8 (patch)
treef9caa56b0626bd8549f353361e4bd052a62ba7fb /include
parent2adf8ccbf0611df6393c30737d87faaf38cdcd0c (diff)
Debug info: refactor the first field of DICompileUnit to be a raw file/directory pair
This removes the DICompileUnit special case from DIScope. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177610 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/DebugInfo.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/llvm/DebugInfo.h b/include/llvm/DebugInfo.h
index c51cfee29c..ea826d7fb6 100644
--- a/include/llvm/DebugInfo.h
+++ b/include/llvm/DebugInfo.h
@@ -189,12 +189,6 @@ namespace llvm {
explicit DICompileUnit(const MDNode *N = 0) : DIScope(N) {}
unsigned getLanguage() const { return getUnsignedField(2); }
- StringRef getFilename() const {
- return getFieldAs<DIFile>(1).getFilename();
- }
- StringRef getDirectory() const {
- return getFieldAs<DIFile>(1).getDirectory();
- }
StringRef getProducer() const { return getStringField(3); }
bool isOptimized() const { return getUnsignedField(4) != 0; }