aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/MC/MCSection.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/MC/MCSection.h')
-rw-r--r--include/llvm/MC/MCSection.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/MC/MCSection.h b/include/llvm/MC/MCSection.h
index 236f0687e7..341f7f0151 100644
--- a/include/llvm/MC/MCSection.h
+++ b/include/llvm/MC/MCSection.h
@@ -19,6 +19,8 @@ namespace llvm {
public:
MCSection(const char *_Name) : Name(_Name) {}
+
+ const std::string &getName() const { return Name; }
};
} // end namespace llvm