summaryrefslogtreecommitdiff
path: root/lib/Target/NVPTX/NVPTXSection.h
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
commitb1cc6f3dff96bfb26e0f5b62a187374b6a7629a1 (patch)
treec971a1ecaaed5a004be4077789aefabf95e32630 /lib/Target/NVPTX/NVPTXSection.h
parent896192402204c5a9a519ccc6ecc6834888fa7d51 (diff)
downloadllvm-b1cc6f3dff96bfb26e0f5b62a187374b6a7629a1.tar.gz
llvm-b1cc6f3dff96bfb26e0f5b62a187374b6a7629a1.tar.bz2
llvm-b1cc6f3dff96bfb26e0f5b62a187374b6a7629a1.tar.xz
Add a way of printing out an arbitrary label name for a section
given the section. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170087 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/NVPTX/NVPTXSection.h')
-rw-r--r--lib/Target/NVPTX/NVPTXSection.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/NVPTX/NVPTXSection.h b/lib/Target/NVPTX/NVPTXSection.h
index 9c832e1b51..04c2da8171 100644
--- a/lib/Target/NVPTX/NVPTXSection.h
+++ b/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