aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PIC16/PIC16Section.h
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2010-03-30 14:34:13 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2010-03-30 14:34:13 +0000
commit32e6518de397d1c8a308d28990e1b062ec172ef8 (patch)
tree7394398f362d94e59f24a28ff9915ebffb5c3f66 /lib/Target/PIC16/PIC16Section.h
parent91b1d8fdbfd37aa75ae9cba3fb4d8f49bc5053f9 (diff)
downloadexternal_llvm-32e6518de397d1c8a308d28990e1b062ec172ef8.zip
external_llvm-32e6518de397d1c8a308d28990e1b062ec172ef8.tar.gz
external_llvm-32e6518de397d1c8a308d28990e1b062ec172ef8.tar.bz2
XFAIL some PIC16 tests when running under valgrind-leaks. I don't expect these
to be fixed any time soon. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99888 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PIC16/PIC16Section.h')
-rw-r--r--lib/Target/PIC16/PIC16Section.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/PIC16/PIC16Section.h b/lib/Target/PIC16/PIC16Section.h
index 350afb6..9039ca7 100644
--- a/lib/Target/PIC16/PIC16Section.h
+++ b/lib/Target/PIC16/PIC16Section.h
@@ -63,6 +63,8 @@ namespace llvm {
void setSize(unsigned size) { Size = size; }
/// Conatined data objects.
+ // FIXME: This vector is leaked because sections are allocated with a
+ // BumpPtrAllocator.
std::vector<const GlobalVariable *>Items;
/// Check section type.