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
commit29d032ce71da6b232be62715d8fcc02b33e160ba (patch)
tree7394398f362d94e59f24a28ff9915ebffb5c3f66 /lib/Target/PIC16/PIC16Section.h
parent80ae570c127debaa26bc45599ead875764e2d085 (diff)
downloadexternal_llvm-29d032ce71da6b232be62715d8fcc02b33e160ba.tar.gz
external_llvm-29d032ce71da6b232be62715d8fcc02b33e160ba.tar.bz2
external_llvm-29d032ce71da6b232be62715d8fcc02b33e160ba.zip
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 350afb6e91..9039ca781a 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.