aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Object/Archive.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Object/Archive.h')
-rw-r--r--include/llvm/Object/Archive.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Object/Archive.h b/include/llvm/Object/Archive.h
index e2478f6..7a818a1 100644
--- a/include/llvm/Object/Archive.h
+++ b/include/llvm/Object/Archive.h
@@ -114,6 +114,7 @@ public:
}
error_code getName(StringRef &Result) const;
+ StringRef getRawName() const { return ToHeader(Data.data())->getName(); }
int getLastModified() const;
int getUID() const;
int getGID() const;