summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2012-12-13 03:00:35 +0000
committerEric Christopher <echristo@gmail.com>2012-12-13 03:00:35 +0000
commit80882db88f82d78df5ddebe626b59c569749e789 (patch)
tree59bf86c450af44edc24f9b5356cd2346e6b721cf /llvm/lib/Target
parenteae97523817a184326d31aaf8a2ac4278d4ae67f (diff)
downloadbcm5719-llvm-80882db88f82d78df5ddebe626b59c569749e789.tar.gz
bcm5719-llvm-80882db88f82d78df5ddebe626b59c569749e789.zip
Add a way of printing out an arbitrary label name for a section
given the section. llvm-svn: 170087
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/NVPTX/NVPTXSection.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/NVPTX/NVPTXSection.h b/llvm/lib/Target/NVPTX/NVPTXSection.h
index 9c832e1b51a..04c2da81714 100644
--- a/llvm/lib/Target/NVPTX/NVPTXSection.h
+++ b/llvm/lib/Target/NVPTX/NVPTXSection.h
@@ -38,6 +38,8 @@ public:
virtual bool isBaseAddressKnownZero() const { return true; }
virtual bool UseCodeAlign() const { return false; }
virtual bool isVirtualSection() const { return false; }
+ virtual std::string getLabelBeginName() const { return ""; }
+ virtual std::string getLabelEndName() const { return ""; }
};
} // end namespace llvm
OpenPOWER on IntegriCloud