summaryrefslogtreecommitdiff
path: root/include/llvm/MC/MCValue.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/MC/MCValue.h')
-rw-r--r--include/llvm/MC/MCValue.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/llvm/MC/MCValue.h b/include/llvm/MC/MCValue.h
index ec323fe1b3..af56eedece 100644
--- a/include/llvm/MC/MCValue.h
+++ b/include/llvm/MC/MCValue.h
@@ -49,9 +49,10 @@ public:
///
/// @result - The value's associated section, or null for external or constant
/// values.
- const MCSection *getAssociatedSection() const {
- return SymA ? SymA->getSection() : 0;
- }
+ //
+ // FIXME: Switch to a tagged section, so this can return the tagged section
+ // value.
+ const MCSection *getAssociatedSection() const;
/// print - Print the value to the stream \arg OS.
void print(raw_ostream &OS) const;