summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PIC16/MCSectionPIC16.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target/PIC16/MCSectionPIC16.h')
-rw-r--r--llvm/lib/Target/PIC16/MCSectionPIC16.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/PIC16/MCSectionPIC16.h b/llvm/lib/Target/PIC16/MCSectionPIC16.h
index 66607c813fc..cfc8dd067b0 100644
--- a/llvm/lib/Target/PIC16/MCSectionPIC16.h
+++ b/llvm/lib/Target/PIC16/MCSectionPIC16.h
@@ -28,7 +28,8 @@ namespace llvm {
public:
const std::string &getName() const { return Name; }
-
+
+ void setName(std::string name) { Name = name; }
static MCSectionPIC16 *Create(const StringRef &Name,
SectionKind K, MCContext &Ctx);
OpenPOWER on IntegriCloud